/dalvik/dx/src/com/android/dx/rop/cst/ |
D | CstAnnotation.java | 19 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/ |
D | CstAnnotation.java | 19 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/ |
D | AnnotationItem.java | 19 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 …]
|
D | ValueEncoder.java | 19 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()
|
D | EncodedArrayItem.java | 19 import com.android.dexgen.rop.annotation.Annotation; 20 import com.android.dexgen.rop.annotation.AnnotationVisibility; 21 import com.android.dexgen.rop.annotation.NameValuePair;
|
D | AnnotationSetItem.java | 19 import com.android.dexgen.rop.annotation.Annotation; 20 import com.android.dexgen.rop.annotation.Annotations;
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | AnnotationItem.java | 19 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 …]
|
D | ValueEncoder.java | 20 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/ |
D | expected.txt | 2 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/ |
D | mainDexClasses.rules | 11 # 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/ |
D | Annotations.java | 17 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()
|
D | AnnotationVisibility.java | 17 package com.android.dx.rop.annotation;
|
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/ |
D | Annotations.java | 17 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()
|
D | AnnotationVisibility.java | 17 package com.android.dexgen.rop.annotation;
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
D | AnnotationParser.java | 21 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/ |
D | expected.txt | 41 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/ |
D | Annotated.java | 3 import java.lang.annotation.Retention; 4 import java.lang.annotation.RetentionPolicy;
|
/dalvik/dx/tests/133-source-debug-extension/ |
D | expected.txt | 4 > (Ldalvik/annotation/SourceDebugExtension;
|
/dalvik/dx/tests/108-string-annotation/ |
D | Fizmo.class | ... java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.String ... |
D | Frotz.class | ... java.lang.Object implements java.lang.annotation.Annotation {
public abstract java.lang.String ... |
/dalvik/dx/tests/138-invoke-polymorphic-again/ |
D | expected.txt | 44 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/ |
D | AttRuntimeInvisibleAnnotations.java | 19 import com.android.dx.rop.annotation.Annotations;
|
D | AttRuntimeInvisibleParameterAnnotations.java | 19 import com.android.dx.rop.annotation.AnnotationsList;
|
D | AttRuntimeVisibleAnnotations.java | 19 import com.android.dx.rop.annotation.Annotations;
|
D | AttRuntimeVisibleParameterAnnotations.java | 19 import com.android.dx.rop.annotation.AnnotationsList;
|