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;
63 * given instance with the given additional annotation. The latter's
67 * @param annotation {@code non-null;} the additional annotation
72 Annotation annotation) {
76 result.add(annotation);
164 * @param annotation {@code non-null;} the element to add
167 public void add(Annotation annotation) { argument
170 if (annotation == null) {
171 throw new NullPointerException("annotation
71 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;
29 * An annotation on an element of a class. Annotations have an
35 /** {@code non-null;} type of the annotation */
38 /** {@code non-null;} the visibility of the annotation */
47 * @param type {@code non-null;} type of the annotation
48 * @param visibility {@code non-null;} the visibility of the annotation
136 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
101 AnnotationItem(Annotation annotation, DexFile dexFile) argument
[all...]
H A DValueEncoder.java20 import com.android.dx.rop.annotation.Annotation;
21 import com.android.dx.rop.annotation.NameValuePair;
49 /** annotation value type constant: {@code byte} */
52 /** annotation value type constant: {@code short} */
55 /** annotation value type constant: {@code char} */
58 /** annotation value type constant: {@code int} */
61 /** annotation value type constant: {@code long} */
64 /** annotation value type constant: {@code float} */
67 /** annotation value type constant: {@code double} */
70 /** annotation valu
308 writeAnnotation(Annotation annotation, boolean topLevel) argument
390 addContents(DexFile file, Annotation annotation) argument
[all...]
/dalvik/dx/src/com/android/dx/merge/
H A DIndexMap.java86 * A type list, annotation set, annotation directory, or static value at
239 public Annotation adjust(Annotation annotation) { argument
242 annotation.getReader());
243 return new Annotation(target, annotation.getVisibility(),
H A DDexMerger.java128 writerSizes.annotationsSetRefList, "annotation set ref list");
131 annotationSetOut = dexOut.appendSection(writerSizes.annotationsSet, "annotation sets");
146 annotationOut = dexOut.appendSection(writerSizes.annotation, "annotation");
603 * Copy annotation sets from each input to the output.
605 * TODO: this may write multiple copies of the same annotation set.
723 // annotation set offset
755 * Transform all annotation set ref lists.
1019 private int annotation; field in class:DexMerger.WriterSizes
1043 annotation
[all...]
/dalvik/libdex/
H A DDexSwapVerify.cpp1407 const u1* data = item->annotation;
1425 const DexAnnotationItem* annotation = local
1427 u4 idx = annotationItemTypeIdx(annotation);
2250 ALOGE("Bogus annotation value_arg %#x", valueArg);
2299 ALOGE("Bogus annotation type: '%s'", descriptor);
2326 ALOGE("Bogus annotation member name: '%s'", name);
2368 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 */
836 /* get field annotation list size */
844 /* return a pointer to the field's annotation set */
851 /* get the class' method annotation list */
868 /* 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 324 milliseconds