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

1 2 3 4 5 6 7 8 9

  /external/proguard/src/proguard/classfile/editor/
AnnotationsAttributeEditor.java 26 * This class can add annotations to a given annotations attribute.
27 * Annotations to be added must have been filled out beforehand.
37 * Creates a new AnnotationsAttributeEditor that will edit annotations in
38 * the given annotations attribute.
47 * Adds a given annotation to the annotations attribute.
52 Annotation[] annotations = targetAnnotationsAttribute.annotations; local
55 if (annotations.length <= annotationsCount)
57 targetAnnotationsAttribute.annotations = new Annotation[annotationsCount+1]
    [all...]
ParameterAnnotationsAttributeEditor.java 26 * This class can add annotations to a given parameter annotations attribute.
27 * Annotations to be added must have been filled out beforehand.
38 * annotations in the given parameter annotations attribute.
47 * Adds a given annotation to the annotations attribute.
52 Annotation[] annotations = targetParameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; local
55 if (annotations == null ||
56 annotations.length <= annotationsCount)
59 if (annotations != null
    [all...]
  /external/guava/src/com/google/common/annotations/
VisibleForTesting.java 17 package com.google.common.annotations;
GwtCompatible.java 17 package com.google.common.annotations;
GwtIncompatible.java 17 package com.google.common.annotations;
  /dalvik/dx/src/com/android/dx/dex/file/
AnnotationSetRefItem.java 33 private AnnotationSetItem annotations; field in class:AnnotationSetRefItem
38 * @param annotations {@code non-null;} the annotation set to refer to
40 public AnnotationSetRefItem(AnnotationSetItem annotations) {
43 if (annotations == null) {
44 throw new NullPointerException("annotations == null");
47 this.annotations = annotations;
60 annotations = wordData.intern(annotations);
66 return annotations.toHuman()
    [all...]
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...]
  /cts/tools/signature-tools/src/signature/model/impl/
SigAnnotatableElement.java 29 private Set<IAnnotation> annotations; field in class:SigAnnotatableElement
32 annotations = Collections.emptySet();
36 return annotations;
39 public void setAnnotations(Set<IAnnotation> annotations) {
40 this.annotations = annotations;
  /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);
AttRuntimeVisibleParameterAnnotations.java 34 * @param annotations {@code non-null;} the parameter annotations
39 AnnotationsList annotations, int byteLength) {
40 super(ATTRIBUTE_NAME, annotations, byteLength);
  /external/proguard/src/proguard/classfile/attribute/annotation/
AnnotationsAttribute.java 28 * This Attribute represents an annotations attribute.
35 public Annotation[] annotations; field in class:AnnotationsAttribute
51 Annotation[] annotations)
56 this.annotations = annotations;
61 * Applies the given visitor to all class annotations.
69 annotationVisitor.visitAnnotation(clazz, annotations[index]);
75 * Applies the given visitor to all field annotations.
83 annotationVisitor.visitAnnotation(clazz, field, annotations[index]);
89 * Applies the given visitor to all method annotations
    [all...]
RuntimeInvisibleAnnotationsAttribute.java 27 * This Attribute represents a runtime invisible annotations attribute.
46 Annotation[] annotations)
48 super(u2attributeNameIndex, u2annotationsCount, annotations);
RuntimeVisibleAnnotationsAttribute.java 27 * This Attribute represents a runtime visible annotations attribute.
46 Annotation[] annotations)
48 super(u2attributeNameIndex, u2annotationsCount, annotations);
  /external/guava/src/com/google/common/base/
Supplier.java 19 import com.google.common.annotations.GwtCompatible;
Function.java 19 import com.google.common.annotations.GwtCompatible;
Predicate.java 19 import com.google.common.annotations.GwtCompatible;
  /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...]
  /external/guava/src/com/google/common/collect/
ComputationException.java 19 import com.google.common.annotations.GwtCompatible;
UnmodifiableIterator.java 19 import com.google.common.annotations.GwtCompatible;
  /dalvik/dx/src/com/android/dx/util/
ByteArrayAnnotatedOutput.java 47 /** whether annotations are to be verbose */
51 * {@code null-ok;} list of annotations, or {@code null} if this instance
54 private ArrayList<Annotation> annotations; field in class:ByteArrayAnnotatedOutput
61 * in annotations
70 * instance does not keep annotations by default.
80 * reallocated. The constructed instance does not keep annotations
102 this.annotations = null;
358 return (annotations != null);
368 if (annotations == null) {
373 annotations.add(new Annotation(cursor, msg))
    [all...]
  /cts/tools/dex-tools/src/dex/reader/
DexParameterImpl.java 30 private Set<DexAnnotation> annotations; field in class:DexParameterImpl
49 annotations = new HashSet<DexAnnotation>();
54 annotations.add(new DexAnnotationImpl(buffer.createCopy(),
65 return annotations;

Completed in 498 milliseconds

1 2 3 4 5 6 7 8 9