Home
last modified time | relevance | path

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

123

/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/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/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 …]
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;
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()
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
101 public AnnotationItem(Annotation annotation, DexFile dexFile) { in AnnotationItem() argument
108 if (annotation == null) { in AnnotationItem()
112 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.java20 import com.android.dx.rop.annotation.Annotation;
21 import com.android.dx.rop.annotation.NameValuePair;
308 public void writeAnnotation(Annotation annotation, boolean topLevel) { in writeAnnotation() argument
313 CstType type = annotation.getType(); in writeAnnotation()
321 out.writeUleb128(typeIds.indexOf(annotation.getType())); in writeAnnotation()
323 Collection<NameValuePair> pairs = annotation.getNameValuePairs(); in writeAnnotation()
390 public static void addContents(DexFile file, Annotation annotation) { in addContents() argument
394 typeIds.intern(annotation.getType()); in addContents()
396 for (NameValuePair pair : annotation.getNameValuePairs()) { in addContents()
DAnnotationSetItem.java19 import com.android.dx.rop.annotation.Annotation;
20 import com.android.dx.rop.annotation.Annotations;
/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.rules23 # We need to keep all annotation classes because proguard does not trace annotation attribute
24 # it just filter the annotation attributes according to annotation classes it already kept.
25 -keep public class * extends java.lang.annotation.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/rop/annotation/
DAnnotations.java17 package com.android.dx.rop.annotation;
72 Annotation annotation) { in combine() argument
76 result.add(annotation); in combine()
167 public void add(Annotation annotation) { in add() argument
170 if (annotation == null) { in add()
174 CstType type = annotation.getType(); in add()
181 annotations.put(type, annotation); in add()
DAnnotationVisibility.java17 package com.android.dx.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/115-merge/testdata/
DAnnotated.java3 import java.lang.annotation.Retention;
4 import java.lang.annotation.RetentionPolicy;
/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/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;
DBaseAnnotations.java19 import com.android.dx.rop.annotation.Annotations;
DBaseParameterAnnotations.java19 import com.android.dx.rop.annotation.AnnotationsList;
/dalvik/dx/
DshrinkedAndroid.proguard.flags20 -keep public class java.lang.annotation.Annotation {

123