Home
last modified time | relevance | path

Searched refs:Annotation (Results 1 – 25 of 30) sorted by relevance

12

/dalvik/dx/src/com/android/dx/dex/file/
DAnnotationUtils.java19 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 …]
DAnnotationItem.java19 import com.android.dx.rop.annotation.Annotation;
51 private final Annotation annotation;
102 public AnnotationItem(Annotation annotation, DexFile dexFile) { in AnnotationItem()
DAnnotationSetItem.java19 import com.android.dx.rop.annotation.Annotation;
57 for (Annotation a : annotations.getAnnotations()) { in AnnotationSetItem()
DValueEncoder.java20 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/
DAnnotationUtils.java19 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 …]
DAnnotationItem.java19 import com.android.dexgen.rop.annotation.Annotation;
53 private final Annotation annotation;
102 public AnnotationItem(Annotation annotation) { in AnnotationItem()
DAnnotationSetItem.java19 import com.android.dexgen.rop.annotation.Annotation;
56 for (Annotation a : annotations.getAnnotations()) { in AnnotationSetItem()
DValueEncoder.java19 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/
DAnnotations.java39 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 …]
DAnnotation.java33 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/
DAnnotations.java40 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 …]
DAnnotation.java42 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/
DCstAnnotation.java19 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/
DCstAnnotation.java19 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/
DAnnotation.java24 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/
DAttributeTranslator.java35 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/
DByteArrayAnnotatedOutput.java54 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/
DByteArrayAnnotatedOutput.java58 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/
DAnnotationParser.java21 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/
DFizmo.classFizmo.java package Fizmo extends java.lang.Object implements java.lang.annotation.Annotation ...
DFrotz.classFrotz.java package Frotz extends java.lang.Object implements java.lang.annotation.Annotation ...
/dalvik/dx/src/com/android/dx/command/annotool/
DAnnotationLister.java27 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/
DDexMergeTest.java27 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/
DIndexMap.java19 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/
DmainDexClasses.rules13 -keep public class * extends java.lang.annotation.Annotation {

12