Searched defs:annotations (Results 1 - 21 of 21) sorted by relevance

/dalvik/dx/src/com/android/dx/cf/attrib/
H A DAttRuntimeInvisibleAnnotations.java32 * @param annotations {@code non-null;} the list of annotations
36 public AttRuntimeInvisibleAnnotations(Annotations annotations, argument
38 super(ATTRIBUTE_NAME, annotations, byteLength);
H A DAttRuntimeVisibleAnnotations.java32 * @param annotations {@code non-null;} the list of annotations
36 public AttRuntimeVisibleAnnotations(Annotations annotations, argument
38 super(ATTRIBUTE_NAME, annotations, byteLength);
H A DAttRuntimeVisibleParameterAnnotations.java34 * @param annotations {@code non-null;} the parameter annotations
39 AnnotationsList annotations, int byteLength) {
40 super(ATTRIBUTE_NAME, annotations, byteLength);
38 AttRuntimeVisibleParameterAnnotations( AnnotationsList annotations, int byteLength) argument
H A DBaseAnnotations.java23 * Base class for annotations attributes.
26 /** {@code non-null;} list of annotations */
27 private final Annotations annotations; field in class:BaseAnnotations
37 * @param annotations {@code non-null;} the list of annotations
41 public BaseAnnotations(String attributeName, Annotations annotations, argument
46 if (annotations.isMutable()) {
47 throw new MutabilityException("annotations.isMutable()");
51 throw new NullPointerException("annotations == null");
54 this.annotations
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DAnnotationSetRefItem.java33 private AnnotationSetItem annotations; field in class:AnnotationSetRefItem
38 * @param annotations {@code non-null;} the annotation set to refer to
40 public AnnotationSetRefItem(AnnotationSetItem annotations) { argument
43 if (annotations == null) {
44 throw new NullPointerException("annotations == null");
47 this.annotations = annotations;
60 annotations = wordData.intern(annotations);
66 return annotations
[all...]
H A DFieldAnnotationStruct.java26 * Association of a field and its annotations.
33 /** {@code non-null;} the associated annotations */
34 private AnnotationSetItem annotations; field in class:FieldAnnotationStruct
40 * @param annotations {@code non-null;} the associated annotations
43 AnnotationSetItem annotations) {
48 if (annotations == null) {
49 throw new NullPointerException("annotations == null");
53 this.annotations = annotations;
42 FieldAnnotationStruct(CstFieldRef field, AnnotationSetItem annotations) argument
[all...]
H A DMethodAnnotationStruct.java26 * Association of a method and its annotations.
33 /** {@code non-null;} the associated annotations */
34 private AnnotationSetItem annotations; field in class:MethodAnnotationStruct
40 * @param annotations {@code non-null;} the associated annotations
43 AnnotationSetItem annotations) {
48 if (annotations == null) {
49 throw new NullPointerException("annotations == null");
53 this.annotations = annotations;
42 MethodAnnotationStruct(CstMethodRef method, AnnotationSetItem annotations) argument
[all...]
H A DAnnotationSetItem.java25 * Set of annotations, where no annotation type appears more than once.
34 /** {@code non-null;} the set of annotations */
35 private final Annotations annotations; field in class:AnnotationSetItem
38 * {@code non-null;} set of annotations as individual items in an array.
47 * @param annotations {@code non-null;} set of annotations
49 public AnnotationSetItem(Annotations annotations) { argument
50 super(ALIGNMENT, writeSize(annotations));
52 this.annotations = annotations;
68 writeSize(Annotations annotations) argument
[all...]
H A DAnnotationsDirectoryItem.java31 * Per-class directory of annotations.
43 /** {@code null-ok;} the class-level annotations, if any */
89 * set of class annotations, with no other lists.
131 * Sets the direct annotations on this instance. These are annotations
135 * @param annotations {@code non-null;} annotations to set for this class
137 public void setClassAnnotations(Annotations annotations) { argument
138 if (annotations == null) {
139 throw new NullPointerException("annotations
156 addFieldAnnotations(CstFieldRef field, Annotations annotations) argument
172 addMethodAnnotations(CstMethodRef method, Annotations annotations) argument
[all...]
H A DClassDefItem.java75 /** {@code non-null;} annotations directory */
79 * Constructs an instance. Its sets of members and annotations are
322 * Sets the direct annotations on this class. These are annotations
326 * @param annotations {@code non-null;} annotations to set for this class
328 public void setClassAnnotations(Annotations annotations) { argument
329 annotationsDirectory.setClassAnnotations(annotations);
333 * Adds a field annotations item to this class.
336 * @param annotations {
338 addFieldAnnotations(CstFieldRef field, Annotations annotations) argument
349 addMethodAnnotations(CstMethodRef method, Annotations annotations) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DAnnotationSetRefItem.java33 private AnnotationSetItem annotations; field in class:AnnotationSetRefItem
38 * @param annotations {@code non-null;} the annotation set to refer to
40 public AnnotationSetRefItem(AnnotationSetItem annotations) { argument
43 if (annotations == null) {
44 throw new NullPointerException("annotations == null");
47 this.annotations = annotations;
61 annotations = wordData.intern(annotations);
67 return annotations
[all...]
H A DFieldAnnotationStruct.java26 * Association of a field and its annotations.
33 /** {@code non-null;} the associated annotations */
34 private AnnotationSetItem annotations; field in class:FieldAnnotationStruct
40 * @param annotations {@code non-null;} the associated annotations
43 AnnotationSetItem annotations) {
48 if (annotations == null) {
49 throw new NullPointerException("annotations == null");
53 this.annotations = annotations;
42 FieldAnnotationStruct(CstFieldRef field, AnnotationSetItem annotations) argument
[all...]
H A DMethodAnnotationStruct.java26 * Association of a method and its annotations.
33 /** {@code non-null;} the associated annotations */
34 private AnnotationSetItem annotations; field in class:MethodAnnotationStruct
40 * @param annotations {@code non-null;} the associated annotations
43 AnnotationSetItem annotations) {
48 if (annotations == null) {
49 throw new NullPointerException("annotations == null");
53 this.annotations = annotations;
42 MethodAnnotationStruct(CstMethodRef method, AnnotationSetItem annotations) argument
[all...]
H A DAnnotationSetItem.java25 * Set of annotations, where no annotation type appears more than once.
34 /** {@code non-null;} the set of annotations */
35 private final Annotations annotations; field in class:AnnotationSetItem
38 * {@code non-null;} set of annotations as individual items in an array.
47 * @param annotations {@code non-null;} set of annotations
50 public AnnotationSetItem(Annotations annotations, DexFile dexFile) { argument
51 super(ALIGNMENT, writeSize(annotations));
53 this.annotations = annotations;
69 writeSize(Annotations annotations) argument
[all...]
H A DAnnotationsDirectoryItem.java30 * Per-class directory of annotations.
42 /** {@code null-ok;} the class-level annotations, if any */
88 * set of class annotations, with no other lists.
130 * Sets the direct annotations on this instance. These are annotations
134 * @param annotations {@code non-null;} annotations to set for this class
137 public void setClassAnnotations(Annotations annotations, DexFile dexFile) { argument
138 if (annotations == null) {
139 throw new NullPointerException("annotations
157 addFieldAnnotations(CstFieldRef field, Annotations annotations, DexFile dexFile) argument
174 addMethodAnnotations(CstMethodRef method, Annotations annotations, DexFile dexFile) argument
[all...]
H A DClassDefItem.java72 /** {@code non-null;} annotations directory */
76 * Constructs an instance. Its sets of members and annotations are
319 * Sets the direct annotations on this class. These are annotations
323 * @param annotations {@code non-null;} annotations to set for this class
326 public void setClassAnnotations(Annotations annotations, DexFile dexFile) { argument
327 annotationsDirectory.setClassAnnotations(annotations, dexFile);
331 * Adds a field annotations item to this class.
334 * @param annotations {
337 addFieldAnnotations(CstFieldRef field, Annotations annotations, DexFile dexFile) argument
349 addMethodAnnotations(CstMethodRef method, Annotations annotations, DexFile dexFile) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
H A DAnnotations.java39 /** {@code non-null;} map from types to annotations */
40 private final TreeMap<CstType, Annotation> annotations; field in class:Annotations
67 * @param annotations {@code non-null;} the instance to augment
72 public static Annotations combine(Annotations annotations, argument
76 result.addAll(annotations);
87 annotations = new TreeMap<CstType, Annotation>();
93 return annotations.hashCode();
105 return annotations.equals(otherAnnotations.annotations);
110 Iterator<Annotation> thisIter = annotations
[all...]
/dalvik/dx/src/com/android/dx/rop/annotation/
H A DAnnotations.java38 /** {@code non-null;} map from types to annotations */
39 private final TreeMap<CstType, Annotation> annotations; field in class:Annotations
66 * @param annotations {@code non-null;} the instance to augment
71 public static Annotations combine(Annotations annotations, argument
75 result.addAll(annotations);
86 annotations = new TreeMap<CstType, Annotation>();
92 return annotations.hashCode();
104 return annotations.equals(otherAnnotations.annotations);
110 Iterator<Annotation> thisIter = annotations
[all...]
/dalvik/dexgen/src/com/android/dexgen/util/
H A DByteArrayAnnotatedOutput.java47 /** whether annotations are to be verbose */
51 * {@code null-ok;} list of annotations, or {@code null} if this instance
54 private ArrayList<Annotation> annotations; field in class:ByteArrayAnnotatedOutput
61 * in annotations
70 * instance does not keep annotations by default.
80 * reallocated. The constructed instance does not keep annotations
102 this.annotations = null;
358 return (annotations != null);
368 if (annotations == null) {
373 annotations
[all...]
/dalvik/dx/src/com/android/dex/
H A DTableOfContents.java49 public final Section annotations = new Section(0x2004); field in class:TableOfContents
55 stringDatas, debugInfos, annotations, encodedArrays, annotationsDirectories
/dalvik/dx/src/com/android/dx/util/
H A DByteArrayAnnotatedOutput.java51 /** whether annotations are to be verbose */
55 * {@code null-ok;} list of annotations, or {@code null} if this instance
58 private ArrayList<Annotation> annotations; field in class:ByteArrayAnnotatedOutput
65 * in annotations
74 * instance does not keep annotations by default.
84 * reallocated. The constructed instance does not keep annotations
94 * keep annotations by default.
115 this.annotations = null;
369 return (annotations != null);
381 if (annotations
[all...]

Completed in 373 milliseconds