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

/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
H A DAnnotations.java17 package com.android.dexgen.rop.annotation;
64 * given instance with the given additional annotation. The latter's
68 * @param annotation {@code non-null;} the additional annotation
73 Annotation annotation) {
77 result.add(annotation);
165 * @param annotation {@code non-null;} the element to add
168 public void add(Annotation annotation) { argument
171 if (annotation == null) {
172 throw new NullPointerException("annotation
72 combine(Annotations annotations, Annotation annotation) argument
[all...]
H A DAnnotationVisibility.java17 package com.android.dexgen.rop.annotation;
22 * Visibility scope of an annotation.
H A DAnnotationsList.java17 package com.android.dexgen.rop.annotation;
H A DNameValuePair.java17 package com.android.dexgen.rop.annotation;
24 * A (name, value) pair. These are used as the contents of an annotation.
H A DAnnotation.java17 package com.android.dexgen.rop.annotation;
38 * An annotation on an element of a class. Annotations have an
44 /** {@code non-null;} type of the annotation */
47 /** {@code non-null;} the visibility of the annotation */
56 * @param type {@code non-null;} type of the annotation
57 * @param visibility {@code non-null;} the visibility of the annotation
145 sb.append("-annotation ");
/dalvik/dx/src/com/android/dx/rop/annotation/
H A DAnnotations.java17 package com.android.dx.rop.annotation;
64 * given instance with the given additional annotation. The latter's
68 * @param annotation {@code non-null;} the additional annotation
73 Annotation annotation) {
77 result.add(annotation);
165 * @param annotation {@code non-null;} the element to add
168 public void add(Annotation annotation) { argument
171 if (annotation == null) {
172 throw new NullPointerException("annotation
72 combine(Annotations annotations, Annotation annotation) argument
[all...]
H A DAnnotationVisibility.java17 package com.android.dx.rop.annotation;
22 * Visibility scope of an annotation.
H A DAnnotationsList.java17 package com.android.dx.rop.annotation;
H A DNameValuePair.java17 package com.android.dx.rop.annotation;
23 * A (name, value) pair. These are used as the contents of an annotation.
H A DAnnotation.java17 package com.android.dx.rop.annotation;
30 * An annotation on an element of a class. Annotations have an
36 /** {@code non-null;} type of the annotation */
39 /** {@code non-null;} the visibility of the annotation */
48 * @param type {@code non-null;} type of the annotation
49 * @param visibility {@code non-null;} the visibility of the annotation
137 sb.append("-annotation ");
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DCstAnnotation.java19 import com.android.dexgen.rop.annotation.Annotation;
22 * Constant type that represents an annotation.
25 /** {@code non-null;} the actual annotation */
26 private final Annotation annotation; field in class:CstAnnotation
31 * @param annotation {@code non-null;} the annotation to hold
33 public CstAnnotation(Annotation annotation) { argument
34 if (annotation == null) {
35 throw new NullPointerException("annotation == null");
38 annotation
[all...]
/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstAnnotation.java19 import com.android.dx.rop.annotation.Annotation;
22 * Constant type that represents an annotation.
25 /** {@code non-null;} the actual annotation */
26 private final Annotation annotation; field in class:CstAnnotation
31 * @param annotation {@code non-null;} the annotation to hold
33 public CstAnnotation(Annotation annotation) { argument
34 if (annotation == null) {
35 throw new NullPointerException("annotation == null");
38 annotation
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DAnnotationItem.java19 import com.android.dexgen.rop.annotation.Annotation;
20 import com.android.dexgen.rop.annotation.AnnotationVisibility;
21 import com.android.dexgen.rop.annotation.NameValuePair;
33 * Single annotation, which consists of a type and a set of name-value
37 /** annotation visibility constant: visible at build time only */
40 /** annotation visibility constant: visible at runtime */
43 /** annotation visibility constant: visible at runtime only to system */
52 /** {@code non-null;} the annotation to represent */
53 private final Annotation annotation; field in class:AnnotationItem
56 * {@code null-ok;} type reference for the annotation typ
102 AnnotationItem(Annotation annotation) argument
[all...]
H A DValueEncoder.java19 import com.android.dexgen.rop.annotation.Annotation;
20 import com.android.dexgen.rop.annotation.NameValuePair;
50 /** annotation value type constant: {@code byte} */
53 /** annotation value type constant: {@code short} */
56 /** annotation value type constant: {@code char} */
59 /** annotation value type constant: {@code int} */
62 /** annotation value type constant: {@code long} */
65 /** annotation value type constant: {@code float} */
68 /** annotation value type constant: {@code double} */
71 /** annotation valu
309 writeAnnotation(Annotation annotation, boolean topLevel) argument
494 addContents(DexFile file, Annotation annotation) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DAnnotationItem.java19 import com.android.dx.rop.annotation.Annotation;
20 import com.android.dx.rop.annotation.AnnotationVisibility;
21 import com.android.dx.rop.annotation.NameValuePair;
31 * Single annotation, which consists of a type and a set of name-value
35 /** annotation visibility constant: visible at build time only */
38 /** annotation visibility constant: visible at runtime */
41 /** annotation visibility constant: visible at runtime only to system */
50 /** {@code non-null;} the annotation to represent */
51 private final Annotation annotation; field in class:AnnotationItem
54 * {@code null-ok;} type reference for the annotation typ
100 AnnotationItem(Annotation annotation) argument
[all...]
H A DValueEncoder.java19 import com.android.dx.rop.annotation.Annotation;
20 import com.android.dx.rop.annotation.NameValuePair;
48 /** annotation value type constant: {@code byte} */
51 /** annotation value type constant: {@code short} */
54 /** annotation value type constant: {@code char} */
57 /** annotation value type constant: {@code int} */
60 /** annotation value type constant: {@code long} */
63 /** annotation value type constant: {@code float} */
66 /** annotation value type constant: {@code double} */
69 /** annotation valu
307 writeAnnotation(Annotation annotation, boolean topLevel) argument
492 addContents(DexFile file, Annotation annotation) argument
[all...]
/dalvik/dx/src/com/android/dx/merge/
H A DIndexMap.java67 * A type list, annotation set, annotation directory, or static value at
208 public Annotation adjust(Annotation annotation) { argument
209 int[] names = annotation.getNames().clone();
210 EncodedValue[] values = annotation.getValues().clone();
215 return new Annotation(target, annotation.getVisibility(),
216 adjustType(annotation.getTypeIndex()), names, values);
H A DDexMerger.java124 writerSizes.annotationsSetRefList, "annotation set ref list");
127 annotationSetOut = dexOut.appendSection(writerSizes.annotationsSet, "annotation sets");
142 annotationOut = dexOut.appendSection(writerSizes.annotation, "annotation");
599 * Copy annotation sets from each input to the output.
601 * TODO: this may write multiple copies of the same annotation set.
707 // annotation set offset
997 private int annotation; field in class:DexMerger.WriterSizes
1020 annotation = dexMerger.annotationOut.used();
1041 annotation
[all...]
/dalvik/libdex/
H A DDexSwapVerify.cpp1401 const u1* data = item->annotation;
1419 const DexAnnotationItem* annotation = local
1421 u4 idx = annotationItemTypeIdx(annotation);
2238 ALOGE("Bogus annotation value_arg %#x", valueArg);
2287 ALOGE("Bogus annotation type: '%s'", descriptor);
2314 ALOGE("Bogus annotation member name: '%s'", name);
2356 ALOGE("Bogus annotation visibility: %#x", *data);
H A DDexFile.h139 /* annotation constants */
141 kDexVisibilityBuild = 0x00, /* annotation visibility */
435 u1 annotation[1]; /* data in encoded_annotation format */ member in struct:DexAnnotationItem
808 /* Get an annotation set at a particular offset. */
817 /* get the class' annotation set */
824 /* get the class' field annotation list */
835 /* get field annotation list size */
842 /* return a pointer to the field's annotation set */
849 /* get the class' method annotation list */
865 /* get method annotation lis
[all...]
/dalvik/dx/etc/
H A Djasmin.jar ... defs= " (boolean) boolean visible public void add (jas.Annotation, int) jas.Annotation annotation int paramnum java.util ...

Completed in 475 milliseconds