Examples of AnnotationElementValue


Examples of org.apache.bcel.classfile.AnnotationElementValue

   * Return immutable variant of this AnnotationElementValueGen
   */
  @Override
    public ElementValue getElementValue()
  {
    return new AnnotationElementValue(this.type, a.getAnnotation(), cpGen
        .getConstantPool());
  }
View Full Code Here

Examples of org.aspectj.apache.bcel.classfile.annotation.AnnotationElementValue

 
  /**
     * Return immutable variant of this AnnotationElementValueGen
     */
  public ElementValue getElementValue() {
    return new AnnotationElementValue(this.type,a.getAnnotation(),cpGen.getConstantPool());
  }
View Full Code Here

Examples of org.gjt.jclasslib.structures.elementvalues.AnnotationElementValue

        super.read(in);

        int runtimeVisibleAnnotationsLength = in.readUnsignedShort();
        runtimeAnnotations = new AnnotationElementValue[runtimeVisibleAnnotationsLength];
        for (int i = 0; i < runtimeVisibleAnnotationsLength; i++) {
            runtimeAnnotations[i] = new AnnotationElementValue();
            runtimeAnnotations[i].setClassFile(classFile);
            runtimeAnnotations[i].read(in);
        }

        if (debug) debug("read ");
View Full Code Here

Examples of org.gjt.jclasslib.structures.elementvalues.AnnotationElementValue

        addDetailPaneEntry(normalLabel("Number of entries:"),
                lblValuePairEntries = highlightLabel());
    }

    public void show(TreePath treePath) {
        AnnotationElementValue annotation = (AnnotationElementValue)
                ((BrowserTreeNode)treePath.getLastPathComponent()).getElement();

        lblTag.setText(String.valueOf((char)annotation.getTag()));
        lblTagVerbose.setText("<" + ElementValue.getTagDescription(annotation.getTag()) + ">");

        constantPoolHyperlink(lblType,
                lblTypeVerbose,
                annotation.getTypeIndex());

        lblValuePairEntries.setText(String.valueOf(annotation.getElementValuePairEntries().length));

        super.show(treePath);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.