HomeSort by relevance Sort by last modified time
    Searched refs:Annotations (Results 1 - 25 of 29) sorted by null

1 2

  /dalvik/dexgen/src/com/android/dexgen/rop/annotation/
Annotations.java 30 public final class Annotations extends MutabilityControl
31 implements Comparable<Annotations> {
33 public static final Annotations EMPTY = new Annotations();
39 /** {@code non-null;} map from types to annotations */
40 private final TreeMap<CstType, Annotation> annotations; field in class:Annotations
52 public static Annotations combine(Annotations a1, Annotations a2) {
53 Annotations result = new Annotations()
    [all...]
AnnotationsList.java 22 * List of {@link Annotations} instances.
50 Annotations a1 = list1.get(i);
51 Annotations a2 = list2.get(i);
52 result.set(i, Annotations.combine(a1, a2));
76 public Annotations get(int n) {
77 return (Annotations) get0(n);
87 public void set(int n, Annotations a) {
  /dalvik/dx/src/com/android/dx/rop/annotation/
Annotations.java 30 public final class Annotations extends MutabilityControl
31 implements Comparable<Annotations> {
33 public static final Annotations EMPTY = new Annotations();
39 /** {@code non-null;} map from types to annotations */
40 private final TreeMap<CstType, Annotation> annotations; field in class:Annotations
52 public static Annotations combine(Annotations a1, Annotations a2) {
53 Annotations result = new Annotations()
    [all...]
AnnotationsList.java 22 * List of {@link Annotations} instances.
50 Annotations a1 = list1.get(i);
51 Annotations a2 = list2.get(i);
52 result.set(i, Annotations.combine(a1, a2));
76 public Annotations get(int n) {
77 return (Annotations) get0(n);
87 public void set(int n, Annotations a) {
  /dalvik/dx/src/com/android/dx/cf/attrib/
BaseAnnotations.java 19 import com.android.dx.rop.annotation.Annotations;
23 * Base class for annotations attributes.
26 /** {@code non-null;} list of annotations */
27 private final Annotations annotations; field in class:BaseAnnotations
37 * @param annotations {@code non-null;} the list of annotations
41 public BaseAnnotations(String attributeName, Annotations annotations,
46 if (annotations.isMutable())
    [all...]
AttRuntimeInvisibleAnnotations.java 19 import com.android.dx.rop.annotation.Annotations;
32 * @param annotations {@code non-null;} the list of annotations
36 public AttRuntimeInvisibleAnnotations(Annotations annotations,
38 super(ATTRIBUTE_NAME, annotations, byteLength);
AttRuntimeVisibleAnnotations.java 19 import com.android.dx.rop.annotation.Annotations;
32 * @param annotations {@code non-null;} the list of annotations
36 public AttRuntimeVisibleAnnotations(Annotations annotations,
38 super(ATTRIBUTE_NAME, annotations, byteLength);
  /dalvik/dx/src/com/android/dx/dex/cf/
AttributeTranslator.java 36 import com.android.dx.rop.annotation.Annotations;
81 * Gets the annotations out of a given {@link AttributeList}. This
82 * combines both visible and invisible annotations into a single
87 * @return {@code non-null;} the set of annotations, which may be empty
89 public static Annotations getAnnotations(AttributeList attribs) {
90 Annotations result = getAnnotations0(attribs);
94 result = Annotations.combine(result, signature);
101 * Gets the annotations out of a given class, similar to {@link
102 * #getAnnotations}, also including annotations for translations
111 * @return {@code non-null;} the set of annotations, which may be empt
    [all...]
CfTranslator.java 34 import com.android.dx.rop.annotation.Annotations;
127 Annotations classAnnotations =
168 Annotations annotations = local
170 if (annotations.size() != 0) {
171 out.addFieldAnnotations(field, annotations);
330 Annotations annotations = local
332 if (annotations.size() != 0) {
333 out.addMethodAnnotations(meth, annotations);
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
AnnotationSetItem.java 20 import com.android.dexgen.rop.annotation.Annotations;
25 * Set of annotations, where no annotation type appears more than once.
34 /** {@code non-null;} the set of annotations */
35 private final Annotations annotations; field in class:AnnotationSetItem
38 * {@code non-null;} set of annotations as individual items in an array.
47 * @param annotations {@code non-null;} set of annotations
49 public AnnotationSetItem(Annotations annotations) {
    [all...]
FieldAnnotationStruct.java 19 import com.android.dexgen.rop.annotation.Annotations;
26 * Association of a field and its annotations.
33 /** {@code non-null;} the associated annotations */
34 private AnnotationSetItem annotations; field in class:FieldAnnotationStruct
40 * @param annotations {@code non-null;} the associated annotations
43 AnnotationSetItem annotations) {
48 if (annotations == null) {
49 throw new NullPointerException("annotations == null");
53 this.annotations = annotations
    [all...]
MethodAnnotationStruct.java 19 import com.android.dexgen.rop.annotation.Annotations;
26 * Association of a method and its annotations.
33 /** {@code non-null;} the associated annotations */
34 private AnnotationSetItem annotations; field in class:MethodAnnotationStruct
40 * @param annotations {@code non-null;} the associated annotations
43 AnnotationSetItem annotations) {
48 if (annotations == null) {
49 throw new NullPointerException("annotations == null");
53 this.annotations = annotations
    [all...]
AnnotationsDirectoryItem.java 19 import com.android.dexgen.rop.annotation.Annotations;
31 * Per-class directory of annotations.
43 /** {@code null-ok;} the class-level annotations, if any */
89 * set of class annotations, with no other lists.
131 * Sets the direct annotations on this instance. These are annotations
135 * @param annotations {@code non-null;} annotations to set for this class
137 public void setClassAnnotations(Annotations annotations) {
    [all...]
ParameterAnnotationStruct.java 19 import com.android.dexgen.rop.annotation.Annotations;
29 * Association of a method and its parameter annotations.
36 /** {@code non-null;} the associated annotations list */
39 /** {@code non-null;} the associated annotations list, as an item */
46 * @param annotationsList {@code non-null;} the associated annotations list
62 * Construct an item for the annotations list. TODO: This
71 Annotations annotations = annotationsList.get(i); local
72 AnnotationSetItem item = new AnnotationSetItem(annotations);
154 * Gets the associated annotations list
    [all...]
ClassDefItem.java 19 import com.android.dexgen.rop.annotation.Annotations;
75 /** {@code non-null;} annotations directory */
79 * Constructs an instance. Its sets of members and annotations are
322 * Sets the direct annotations on this class. These are annotations
326 * @param annotations {@code non-null;} annotations to set for this class
328 public void setClassAnnotations(Annotations annotations) {
329 annotationsDirectory.setClassAnnotations(annotations);
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
AnnotationSetItem.java 19 import com.android.dx.rop.annotation.Annotations;
25 * Set of annotations, where no annotation type appears more than once.
34 /** {@code non-null;} the set of annotations */
35 private final Annotations annotations; field in class:AnnotationSetItem
38 * {@code non-null;} set of annotations as individual items in an array.
47 * @param annotations {@code non-null;} set of annotations
49 public AnnotationSetItem(Annotations annotations) {
    [all...]
FieldAnnotationStruct.java 19 import com.android.dx.rop.annotation.Annotations;
26 * Association of a field and its annotations.
33 /** {@code non-null;} the associated annotations */
34 private AnnotationSetItem annotations; field in class:FieldAnnotationStruct
40 * @param annotations {@code non-null;} the associated annotations
43 AnnotationSetItem annotations) {
48 if (annotations == null) {
49 throw new NullPointerException("annotations == null");
53 this.annotations = annotations
    [all...]
MethodAnnotationStruct.java 19 import com.android.dx.rop.annotation.Annotations;
26 * Association of a method and its annotations.
33 /** {@code non-null;} the associated annotations */
34 private AnnotationSetItem annotations; field in class:MethodAnnotationStruct
40 * @param annotations {@code non-null;} the associated annotations
43 AnnotationSetItem annotations) {
48 if (annotations == null) {
49 throw new NullPointerException("annotations == null");
53 this.annotations = annotations
    [all...]
AnnotationsDirectoryItem.java 19 import com.android.dx.rop.annotation.Annotations;
31 * Per-class directory of annotations.
43 /** {@code null-ok;} the class-level annotations, if any */
89 * set of class annotations, with no other lists.
131 * Sets the direct annotations on this instance. These are annotations
135 * @param annotations {@code non-null;} annotations to set for this class
137 public void setClassAnnotations(Annotations annotations) {
    [all...]
ParameterAnnotationStruct.java 19 import com.android.dx.rop.annotation.Annotations;
29 * Association of a method and its parameter annotations.
36 /** {@code non-null;} the associated annotations list */
39 /** {@code non-null;} the associated annotations list, as an item */
46 * @param annotationsList {@code non-null;} the associated annotations list
62 * Construct an item for the annotations list. TODO: This
71 Annotations annotations = annotationsList.get(i); local
72 AnnotationSetItem item = new AnnotationSetItem(annotations);
154 * Gets the associated annotations list
    [all...]
ClassDefItem.java 20 import com.android.dx.rop.annotation.Annotations;
73 /** {@code non-null;} annotations directory */
77 * Constructs an instance. Its sets of members and annotations are
320 * Sets the direct annotations on this class. These are annotations
324 * @param annotations {@code non-null;} annotations to set for this class
326 public void setClassAnnotations(Annotations annotations) {
327 annotationsDirectory.setClassAnnotations(annotations);
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
AnnotationParser.java 23 import com.android.dx.rop.annotation.Annotations;
49 * Parser for annotations.
120 * @param visibility {@code non-null;} visibility of the parsed annotations
121 * @return {@code non-null;} the parsed list of lists of annotations
144 * @param visibility {@code non-null;} visibility of the parsed annotations
145 * @return {@code non-null;} the list of annotations read from the attribute
148 public Annotations parseAnnotationAttribute(
150 Annotations result;
169 * @param visibility {@code non-null;} visibility of the parsed annotations
189 Annotations annotations = parseAnnotations(visibility) local
216 Annotations annotations = new Annotations(); local
    [all...]
StdAttributeFactory.java 46 import com.android.dx.rop.annotation.Annotations;
616 Annotations annotations = local
619 return new AttRuntimeInvisibleAnnotations(annotations, length);
633 Annotations annotations = local
636 return new AttRuntimeVisibleAnnotations(annotations, length);
  /external/clang/lib/CodeGen/
CodeGenModule.h 263 std::vector<llvm::Constant*> Annotations;
587 void AddAnnotation(llvm::Constant *C) { Annotations.push_back(C); }
  /dalvik/dx/src/com/android/dx/command/dexer/
Main.java 38 import com.android.dx.rop.annotation.Annotations;
837 Annotations methodAnnotations =
843 pw.println(" method annotations:");
850 pw.println(" parameter annotations:");
854 Annotations annotations = parameterAnnotations.get(i); local
855 for (Annotation a : annotations.getAnnotations()) {
    [all...]

Completed in 245 milliseconds

1 2