Home
last modified time | relevance | path

Searched refs:annotation (Results 1 – 25 of 65) sorted by relevance

123

/dalvik/dx/src/com/android/dx/rop/cst/
DCstAnnotation.java19 import com.android.dx.rop.annotation.Annotation;
26 private final Annotation annotation; field in CstAnnotation
33 public CstAnnotation(Annotation annotation) { in CstAnnotation() argument
34 if (annotation == null) { in CstAnnotation()
38 annotation.throwIfMutable(); in CstAnnotation()
40 this.annotation = annotation; in CstAnnotation()
50 return annotation.equals(((CstAnnotation) other).annotation); in equals()
56 return annotation.hashCode(); in hashCode()
62 return annotation.compareTo(((CstAnnotation) other).annotation); in compareTo0()
68 return annotation.toString(); in toString()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
DCstAnnotation.java19 import com.android.dexgen.rop.annotation.Annotation;
26 private final Annotation annotation; field in CstAnnotation
33 public CstAnnotation(Annotation annotation) { in CstAnnotation() argument
34 if (annotation == null) { in CstAnnotation()
38 annotation.throwIfMutable(); in CstAnnotation()
40 this.annotation = annotation; in CstAnnotation()
50 return annotation.equals(((CstAnnotation) other).annotation); in equals()
56 return annotation.hashCode(); in hashCode()
62 return annotation.compareTo(((CstAnnotation) other).annotation); in compareTo0()
68 return annotation.toString(); in toString()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
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;
53 private final Annotation annotation; field in AnnotationItem
102 public AnnotationItem(Annotation annotation) { in AnnotationItem() argument
109 if (annotation == null) { in AnnotationItem()
113 this.annotation = annotation; in AnnotationItem()
127 return annotation.hashCode(); in hashCode()
135 return annotation.compareTo(otherAnnotation.annotation); in compareTo0()
141 return annotation.toHuman(); in toHuman()
[all …]
DValueEncoder.java19 import com.android.dexgen.rop.annotation.Annotation;
20 import com.android.dexgen.rop.annotation.NameValuePair;
309 public void writeAnnotation(Annotation annotation, boolean topLevel) { in writeAnnotation() argument
314 CstType type = annotation.getType(); in writeAnnotation()
322 out.writeUnsignedLeb128(typeIds.indexOf(annotation.getType())); in writeAnnotation()
324 Collection<NameValuePair> pairs = annotation.getNameValuePairs(); in writeAnnotation()
494 public static void addContents(DexFile file, Annotation annotation) { in addContents() argument
498 typeIds.intern(annotation.getType()); in addContents()
500 for (NameValuePair pair : annotation.getNameValuePairs()) { in addContents()
DEncodedArrayItem.java19 import com.android.dexgen.rop.annotation.Annotation;
20 import com.android.dexgen.rop.annotation.AnnotationVisibility;
21 import com.android.dexgen.rop.annotation.NameValuePair;
DAnnotationSetItem.java19 import com.android.dexgen.rop.annotation.Annotation;
20 import com.android.dexgen.rop.annotation.Annotations;
/dalvik/dx/src/com/android/dx/dex/file/
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;
51 private final Annotation annotation; field in AnnotationItem
102 public AnnotationItem(Annotation annotation, DexFile dexFile) { in AnnotationItem() argument
109 if (annotation == null) { in AnnotationItem()
113 this.annotation = annotation; in AnnotationItem()
128 return annotation.hashCode(); in hashCode()
136 return annotation.compareTo(otherAnnotation.annotation); in compareTo0()
142 return annotation.toHuman(); in toHuman()
[all …]
DValueEncoder.java20 import com.android.dx.rop.annotation.Annotation;
21 import com.android.dx.rop.annotation.NameValuePair;
330 public void writeAnnotation(Annotation annotation, boolean topLevel) { in writeAnnotation() argument
335 CstType type = annotation.getType(); in writeAnnotation()
343 out.writeUleb128(typeIds.indexOf(annotation.getType())); in writeAnnotation()
345 Collection<NameValuePair> pairs = annotation.getNameValuePairs(); in writeAnnotation()
412 public static void addContents(DexFile file, Annotation annotation) { in addContents() argument
416 typeIds.intern(annotation.getType()); in addContents()
418 for (NameValuePair pair : annotation.getNameValuePairs()) { in addContents()
/dalvik/dx/tests/081-dex-throws-list/
Dexpected.txt2 system-annotation dalvik.annotation.Throws {value: {java.lang.RuntimeException}}
4 …system-annotation dalvik.annotation.Throws {value: {java.lang.Throwable, java.lang.IllegalArgument…
/dalvik/dx/etc/
DmainDexClasses.rules11 # We need to keep all annotation classes because proguard does not trace annotation attribute
12 # it just filter the annotation attributes according to annotation classes it already kept.
13 -keep public class * extends java.lang.annotation.Annotation {
/dalvik/dx/src/com/android/dx/rop/annotation/
DAnnotations.java17 package com.android.dx.rop.annotation;
72 Annotation annotation) { in combine() argument
76 result.add(annotation); in combine()
169 public void add(Annotation annotation) { in add() argument
172 if (annotation == null) { in add()
176 CstType type = annotation.getType(); in add()
183 annotations.put(type, annotation); in add()
DAnnotationVisibility.java17 package com.android.dx.rop.annotation;
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/
DAnnotations.java17 package com.android.dexgen.rop.annotation;
73 Annotation annotation) { in combine() argument
77 result.add(annotation); in combine()
168 public void add(Annotation annotation) { in add() argument
171 if (annotation == null) { in add()
175 CstType type = annotation.getType(); in add()
182 annotations.put(type, annotation); in add()
DAnnotationVisibility.java17 package com.android.dexgen.rop.annotation;
/dalvik/dx/src/com/android/dx/cf/direct/
DAnnotationParser.java21 import com.android.dx.rop.annotation.Annotation;
22 import com.android.dx.rop.annotation.AnnotationVisibility;
23 import com.android.dx.rop.annotation.Annotations;
24 import com.android.dx.rop.annotation.AnnotationsList;
25 import com.android.dx.rop.annotation.NameValuePair;
223 Annotation annotation = parseAnnotation(visibility); in parseAnnotations() local
224 annotations.add(annotation); in parseAnnotations()
255 Annotation annotation = new Annotation(type, visibility); in parseAnnotation() local
264 annotation.add(element); in parseAnnotation()
271 annotation.setImmutable(); in parseAnnotation()
[all …]
/dalvik/dx/tests/003-magic-version-access/
Dexpected.txt41 access_flags: public|final|super|interface|abstract|synthetic|annotation|enum|89ce
62 access_flags: public|final|super|interface|abstract|synthetic|annotation|enum|89ce
83 access_flags: public|final|super|interface|abstract|synthetic|annotation|enum|89ce
104 access_flags: public|final|super|interface|abstract|synthetic|annotation|enum|89ce
125 access_flags: public|final|super|interface|abstract|synthetic|annotation|enum|89ce
146 access_flags: public|final|super|interface|abstract|synthetic|annotation|enum|89ce
167 access_flags: public|final|super|interface|abstract|synthetic|annotation|enum|89ce
188 access_flags: public|final|super|interface|abstract|synthetic|annotation|enum|89ce
209 access_flags: public|final|super|interface|abstract|synthetic|annotation|enum|89ce
230 access_flags: public|final|super|interface|abstract|synthetic|annotation|enum|89ce
[all …]
/dalvik/dx/tests/115-merge/testdata/
DAnnotated.java3 import java.lang.annotation.Retention;
4 import java.lang.annotation.RetentionPolicy;
/dalvik/dx/tests/133-source-debug-extension/
Dexpected.txt4 > (Ldalvik/annotation/SourceDebugExtension;
/dalvik/dx/tests/108-string-annotation/
DFizmo.class ... java.lang.Object implements java.lang.annotation.Annotation { public abstract java.lang.String ...
DFrotz.class ... java.lang.Object implements java.lang.annotation.Annotation { public abstract java.lang.String ...
/dalvik/dx/tests/138-invoke-polymorphic-again/
Dexpected.txt44 system-annotation dalvik.annotation.Throws {value: {java.lang.Throwable}}
88 system-annotation dalvik.annotation.Throws {value: {java.lang.Throwable}}
/dalvik/dx/src/com/android/dx/cf/attrib/
DAttRuntimeInvisibleAnnotations.java19 import com.android.dx.rop.annotation.Annotations;
DAttRuntimeInvisibleParameterAnnotations.java19 import com.android.dx.rop.annotation.AnnotationsList;
DAttRuntimeVisibleAnnotations.java19 import com.android.dx.rop.annotation.Annotations;
DAttRuntimeVisibleParameterAnnotations.java19 import com.android.dx.rop.annotation.AnnotationsList;

123