Home
last modified time | relevance | path

Searched refs:AnnotationEntry (Results 1 – 21 of 21) sorted by relevance

/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DAnnotations.java32 private AnnotationEntry[] annotation_table;
44 …this(annotation_type, name_index, length, (AnnotationEntry[]) null, constant_pool, isRuntimeVisibl… in Annotations()
46 annotation_table = new AnnotationEntry[annotation_table_length]; in Annotations()
48 annotation_table[i] = AnnotationEntry.read(input, constant_pool, isRuntimeVisible); in Annotations()
59 … byte annotation_type, final int name_index, final int length, final AnnotationEntry[] annotation_… in Annotations()
80 public final void setAnnotationTable(final AnnotationEntry[] annotation_table) { in setAnnotationTable()
87 public AnnotationEntry[] getAnnotationEntries() { in getAnnotationEntries()
110 for (final AnnotationEntry element : annotation_table) { in writeAnnotations()
DAnnotationEntry.java35 public class AnnotationEntry implements Node { class
52 …public static AnnotationEntry read(final DataInput input, final ConstantPool constant_pool, final … in read()
54 …final AnnotationEntry annotationEntry = new AnnotationEntry(input.readUnsignedShort(), constant_po… in read()
65 …public AnnotationEntry(final int type_index, final ConstantPool constant_pool, final boolean isRun… in AnnotationEntry() method in AnnotationEntry
157 public static AnnotationEntry[] createAnnotationEntries(final Attribute[] attrs) { in createAnnotationEntries()
159 final List<AnnotationEntry> accumulatedAnnotations = new ArrayList<>(attrs.length); in createAnnotationEntries()
166 return accumulatedAnnotations.toArray(new AnnotationEntry[accumulatedAnnotations.size()]); in createAnnotationEntries()
DParameterAnnotationEntry.java35 private final AnnotationEntry[] annotation_table;
46 annotation_table = new AnnotationEntry[annotation_table_length]; in ParameterAnnotationEntry()
49 annotation_table[i] = AnnotationEntry.read(input, constant_pool, false); in ParameterAnnotationEntry()
69 public AnnotationEntry[] getAnnotationEntries() { in getAnnotationEntries()
75 for (final AnnotationEntry entry : annotation_table) { in dump()
DAnnotationElementValue.java29 private final AnnotationEntry annotationEntry;
31 public AnnotationElementValue(final int type, final AnnotationEntry annotationEntry, in AnnotationElementValue()
61 public AnnotationEntry getAnnotationEntry() in getAnnotationEntry()
DFieldOrMethod.java59 private AnnotationEntry[] annotationEntries; // annotations defined on the field or method
261 public AnnotationEntry[] getAnnotationEntries() { in getAnnotationEntries()
263 annotationEntries = AnnotationEntry.createAnnotationEntries(getAttributes()); in getAnnotationEntries()
DJavaClass.java66 private AnnotationEntry[] annotations; // annotations defined on the class
340 public AnnotationEntry[] getAnnotationEntries() { in getAnnotationEntries()
342 annotations = AnnotationEntry.createAnnotationEntries(getAttributes()); in getAnnotationEntries()
626 final AnnotationEntry[] annotations = getAnnotationEntries(); in toString()
629 for (final AnnotationEntry annotation : annotations) { in toString()
DDescendingVisitor.java117 final AnnotationEntry[] entries = annotation.getAnnotationEntries(); in visitAnnotation()
118 for (final AnnotationEntry entrie : entries) { in visitAnnotation()
128 public void visitAnnotationEntry(final AnnotationEntry annotationEntry) in visitAnnotationEntry()
DElementValue.java101 … return new AnnotationElementValue(ANNOTATION, AnnotationEntry.read(input, cpool, false), cpool); in readElementValue()
DVisitor.java108 void visitAnnotationEntry(AnnotationEntry obj); in visitAnnotationEntry()
DEmptyVisitor.java53 public void visitAnnotationEntry(final AnnotationEntry obj) in visitAnnotationEntry()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DFieldAnnotationsTestCase.java25 import org.apache.bcel.classfile.AnnotationEntry;
122 final AnnotationEntry[] fieldAnnotationEntrys = f.getAnnotationEntries(); in checkAnnotatedField()
131 …private void checkAnnotationEntry(final AnnotationEntry a, final String name, final String element… in checkAnnotationEntry()
149 public void checkValue(final AnnotationEntry a, final String name, final String tostring) in checkValue()
DGeneratingAnnotatedClassesTestCase.java26 import org.apache.bcel.classfile.AnnotationEntry;
87 final AnnotationEntry[] as = jc.getAnnotationEntries(); in testGenerateClassLevelAnnotations()
287 final AnnotationEntry[] annos= method.getAnnotationEntries(); in assertMethodAnnotations()
295 private void assertArrayElementValue(final int nExpectedArrayValues, final AnnotationEntry anno) in assertArrayElementValue()
313 final AnnotationEntry[] annos= parameterAnnotation.getAnnotationEntries(); in assertParameterAnnotations()
323 private void assertSimpleElementValue(final AnnotationEntry anno) in assertSimpleElementValue()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DAnnotationEntryGen.java29 import org.apache.bcel.classfile.AnnotationEntry;
58 public AnnotationEntryGen(final AnnotationEntry a, final ConstantPoolGen cpool, in AnnotationEntryGen()
86 public AnnotationEntry getAnnotation() { in getAnnotation()
87 final AnnotationEntry a = new AnnotationEntry(typeIndex, cpool.getConstantPool(), in getAnnotation()
DClassGen.java25 import org.apache.bcel.classfile.AnnotationEntry;
176 final AnnotationEntry[] annos = rva.getAnnotationEntries(); in unpackAnnotations()
177 for (final AnnotationEntry a : annos) { in unpackAnnotations()
186 final AnnotationEntry[] annos = ria.getAnnotationEntries(); in unpackAnnotations()
187 for (final AnnotationEntry a : annos) { in unpackAnnotations()
DElementValueGen.java25 import org.apache.bcel.classfile.AnnotationEntry;
137 new AnnotationEntryGen(AnnotationEntry.read(dis, cpGen in readElementValue()
DFieldGen.java24 import org.apache.bcel.classfile.AnnotationEntry;
97 … final AnnotationEntry[] annotationEntries = runtimeAnnotations.getAnnotationEntries(); in FieldGen()
98 for (final AnnotationEntry element : annotationEntries) { in FieldGen()
DMethodGen.java28 import org.apache.bcel.classfile.AnnotationEntry;
241 final AnnotationEntry[] aes = runtimeAnnotations.getAnnotationEntries(); in MethodGen()
242 for (final AnnotationEntry element : aes) { in MethodGen()
1204 private List<AnnotationEntryGen> makeMutableVersion(final AnnotationEntry[] mutableArray) in makeMutableVersion()
1207 for (final AnnotationEntry element : mutableArray) { in makeMutableVersion()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DAbstractTestCase.java25 import org.apache.bcel.classfile.AnnotationEntry;
165 protected String dumpAnnotationEntries(final AnnotationEntry[] as) in dumpAnnotationEntries()
171 final AnnotationEntry annotation = as[i]; in dumpAnnotationEntries()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/visitors/
DCounterVisitor.java22 import org.apache.bcel.classfile.AnnotationEntry;
178 public void visitAnnotationEntry(final AnnotationEntry obj) in visitAnnotationEntry()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/statics/
DStringRepresentation.java22 import org.apache.bcel.classfile.AnnotationEntry;
372 public void visitAnnotationEntry(final AnnotationEntry obj) { in visitAnnotationEntry()
/external/apache-commons-bcel/
DRELEASE-NOTES.txt263 o BCEL-96: Fields in Annotations and AnnotationEntry are inaccessible to