/dalvik/dx/src/com/android/dx/dex/file/ |
D | AnnotationUtils.java | 19 import com.android.dx.rop.annotation.Annotation; 93 public static Annotation makeAnnotationDefault(Annotation defaults) { in makeAnnotationDefault() 94 Annotation result = new Annotation(ANNOTATION_DEFAULT_TYPE, SYSTEM); in makeAnnotationDefault() 107 public static Annotation makeEnclosingClass(CstType clazz) { in makeEnclosingClass() 108 Annotation result = new Annotation(ENCLOSING_CLASS_TYPE, SYSTEM); in makeEnclosingClass() 121 public static Annotation makeEnclosingMethod(CstMethodRef method) { in makeEnclosingMethod() 122 Annotation result = new Annotation(ENCLOSING_METHOD_TYPE, SYSTEM); in makeEnclosingMethod() 137 public static Annotation makeInnerClass(CstString name, int accessFlags) { in makeInnerClass() 138 Annotation result = new Annotation(INNER_CLASS_TYPE, SYSTEM); in makeInnerClass() 154 public static Annotation makeMemberClasses(TypeList types) { in makeMemberClasses() [all …]
|
D | AnnotationItem.java | 19 import com.android.dx.rop.annotation.Annotation; 51 private final Annotation annotation; 102 public AnnotationItem(Annotation annotation, DexFile dexFile) { in AnnotationItem()
|
D | AnnotationSetItem.java | 19 import com.android.dx.rop.annotation.Annotation; 57 for (Annotation a : annotations.getAnnotations()) { in AnnotationSetItem()
|
D | ValueEncoder.java | 20 import com.android.dx.rop.annotation.Annotation; 330 public void writeAnnotation(Annotation annotation, boolean topLevel) { in writeAnnotation() 412 public static void addContents(DexFile file, Annotation annotation) { in addContents()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | AnnotationUtils.java | 19 import com.android.dexgen.rop.annotation.Annotation; 91 public static Annotation makeAnnotationDefault(Annotation defaults) { in makeAnnotationDefault() 92 Annotation result = new Annotation(ANNOTATION_DEFAULT_TYPE, SYSTEM); in makeAnnotationDefault() 105 public static Annotation makeEnclosingClass(CstType clazz) { in makeEnclosingClass() 106 Annotation result = new Annotation(ENCLOSING_CLASS_TYPE, SYSTEM); in makeEnclosingClass() 119 public static Annotation makeEnclosingMethod(CstMethodRef method) { in makeEnclosingMethod() 120 Annotation result = new Annotation(ENCLOSING_METHOD_TYPE, SYSTEM); in makeEnclosingMethod() 135 public static Annotation makeInnerClass(CstUtf8 name, int accessFlags) { in makeInnerClass() 136 Annotation result = new Annotation(INNER_CLASS_TYPE, SYSTEM); in makeInnerClass() 153 public static Annotation makeMemberClasses(TypeList types) { in makeMemberClasses() [all …]
|
D | AnnotationItem.java | 19 import com.android.dexgen.rop.annotation.Annotation; 53 private final Annotation annotation; 102 public AnnotationItem(Annotation annotation) { in AnnotationItem()
|
D | AnnotationSetItem.java | 19 import com.android.dexgen.rop.annotation.Annotation; 56 for (Annotation a : annotations.getAnnotations()) { in AnnotationSetItem()
|
D | ValueEncoder.java | 19 import com.android.dexgen.rop.annotation.Annotation; 309 public void writeAnnotation(Annotation annotation, boolean topLevel) { in writeAnnotation() 494 public static void addContents(DexFile file, Annotation annotation) { in addContents()
|
/dalvik/dx/src/com/android/dx/rop/annotation/ |
D | Annotations.java | 39 private final TreeMap<CstType, Annotation> annotations; 72 Annotation annotation) { in combine() 86 annotations = new TreeMap<CstType, Annotation>(); in Annotations() 110 Iterator<Annotation> thisIter = annotations.values().iterator(); in compareTo() 111 Iterator<Annotation> otherIter = other.annotations.values().iterator(); in compareTo() 114 Annotation thisOne = thisIter.next(); in compareTo() 115 Annotation otherOne = otherIter.next(); in compareTo() 140 for (Annotation a : annotations.values()) { in toString() 169 public void add(Annotation annotation) { in add() 200 for (Annotation a : toAdd.annotations.values()) { in addAll() [all …]
|
D | Annotation.java | 33 public final class Annotation extends MutabilityControl class 34 implements Comparable<Annotation>, ToHuman { 50 public Annotation(CstType type, AnnotationVisibility visibility) { in Annotation() method in Annotation 67 if (! (other instanceof Annotation)) { in equals() 71 Annotation otherAnnotation = (Annotation) other; in equals() 92 public int compareTo(Annotation other) { in compareTo()
|
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/ |
D | Annotations.java | 40 private final TreeMap<CstType, Annotation> annotations; 73 Annotation annotation) { in combine() 87 annotations = new TreeMap<CstType, Annotation>(); in Annotations() 110 Iterator<Annotation> thisIter = annotations.values().iterator(); in compareTo() 111 Iterator<Annotation> otherIter = other.annotations.values().iterator(); in compareTo() 114 Annotation thisOne = thisIter.next(); in compareTo() 115 Annotation otherOne = otherIter.next(); in compareTo() 139 for (Annotation a : annotations.values()) { in toString() 168 public void add(Annotation annotation) { in add() 199 for (Annotation a : toAdd.annotations.values()) { in addAll() [all …]
|
D | Annotation.java | 42 public final class Annotation extends MutabilityControl class 43 implements Comparable<Annotation>, ToHuman { 59 public Annotation(CstType type, AnnotationVisibility visibility) { in Annotation() method in Annotation 76 if (! (other instanceof Annotation)) { in equals() 80 Annotation otherAnnotation = (Annotation) other; in equals() 99 public int compareTo(Annotation other) { in compareTo()
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
D | CstAnnotation.java | 19 import com.android.dexgen.rop.annotation.Annotation; 26 private final Annotation annotation; 33 public CstAnnotation(Annotation annotation) { in CstAnnotation() 93 public Annotation getAnnotation() { in getAnnotation()
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
D | CstAnnotation.java | 19 import com.android.dx.rop.annotation.Annotation; 26 private final Annotation annotation; 33 public CstAnnotation(Annotation annotation) { in CstAnnotation() 94 public Annotation getAnnotation() { in getAnnotation()
|
/dalvik/dx/src/com/android/dex/ |
D | Annotation.java | 24 public final class Annotation implements Comparable<Annotation> { class 29 public Annotation(Dex dex, byte visibility, EncodedValue encodedAnnotation) { in Annotation() method in Annotation 55 public int compareTo(Annotation other) { in compareTo()
|
/dalvik/dx/src/com/android/dx/dex/cf/ |
D | AttributeTranslator.java | 35 import com.android.dx.rop.annotation.Annotation; 91 Annotation signature = getSignature(attribs); in getAnnotations() 92 Annotation sourceDebugExtension = getSourceDebugExtension(attribs); in getAnnotations() 123 Annotation enclosingMethod = translateEnclosingMethod(attribs); in getClassAnnotations() 141 Annotation annotationDefault = in getClassAnnotations() 164 Annotation throwsAnnotation = in getMethodAnnotations() 212 private static Annotation getSignature(AttributeList attribs) { in getSignature() 224 private static Annotation getSourceDebugExtension(AttributeList attribs) { in getSourceDebugExtension() 247 private static Annotation translateEnclosingMethod(AttributeList attribs) { in translateEnclosingMethod() 413 private static Annotation translateAnnotationDefaults(DirectClassFile cf) { in translateAnnotationDefaults() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | ByteArrayAnnotatedOutput.java | 54 private ArrayList<Annotation> annotations; 373 annotations.add(new Annotation(cursor, msg)); in annotate() 394 annotations.add(new Annotation(startAt, startAt + amt, msg)); in annotate() 441 this.annotations = new ArrayList<Annotation>(1000); in enableAnnotations() 460 Annotation last = annotations.get(asz - 1); in finishAnnotating() 491 Annotation a = annotations.get(rightAt); in writeAnnotationsTo() 554 private static class Annotation { class in ByteArrayAnnotatedOutput 575 public Annotation(int start, int end, String text) { in Annotation() method in ByteArrayAnnotatedOutput.Annotation 587 public Annotation(int start, String text) { in Annotation() method in ByteArrayAnnotatedOutput.Annotation
|
/dalvik/dx/src/com/android/dx/util/ |
D | ByteArrayAnnotatedOutput.java | 58 private ArrayList<Annotation> annotations; 386 annotations.add(new Annotation(cursor, msg)); in annotate() 408 annotations.add(new Annotation(startAt, startAt + amt, msg)); in annotate() 457 this.annotations = new ArrayList<Annotation>(1000); in enableAnnotations() 476 Annotation last = annotations.get(asz - 1); in finishAnnotating() 507 Annotation a = annotations.get(rightAt); in writeAnnotationsTo() 570 private static class Annotation { class in ByteArrayAnnotatedOutput 591 public Annotation(int start, int end, String text) { in Annotation() method in ByteArrayAnnotatedOutput.Annotation 603 public Annotation(int start, String text) { in Annotation() method in ByteArrayAnnotatedOutput.Annotation
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
D | AnnotationParser.java | 21 import com.android.dx.rop.annotation.Annotation; 223 Annotation annotation = parseAnnotation(visibility); in parseAnnotations() 241 private Annotation parseAnnotation(AnnotationVisibility visibility) in parseAnnotation() 255 Annotation annotation = new Annotation(type, visibility); in parseAnnotation() 378 Annotation annotation = in parseValue()
|
/dalvik/dx/tests/108-string-annotation/ |
D | Fizmo.class | Fizmo.java
package Fizmo extends java.lang.Object implements java.lang.annotation.Annotation ... |
D | Frotz.class | Frotz.java
package Frotz extends java.lang.Object implements java.lang.annotation.Annotation ... |
/dalvik/dx/src/com/android/dx/command/annotool/ |
D | AnnotationLister.java | 27 import com.android.dx.rop.annotation.Annotation; 151 for (Annotation anAnn : ann.getAnnotations().getAnnotations()) { in visitClassAnnotation() 185 for (Annotation anAnn : ann.getAnnotations().getAnnotations()) { in visitPackageAnnotation()
|
/dalvik/dx/tests/115-merge/com/android/dx/merge/ |
D | DexMergeTest.java | 27 import java.lang.annotation.Annotation; 110 Class<? extends Annotation> marker in testAnnotations() 111 = (Class<? extends Annotation>) loader.loadClass("testdata.Annotated$Marker"); in testAnnotations()
|
/dalvik/dx/src/com/android/dx/merge/ |
D | IndexMap.java | 19 import com.android.dex.Annotation; 271 public Annotation adjust(Annotation annotation) { in adjust() 275 return new Annotation(target, annotation.getVisibility(), in adjust()
|
/dalvik/dx/etc/ |
D | mainDexClasses.rules | 13 -keep public class * extends java.lang.annotation.Annotation {
|