Searched defs:annotations (Results 1 - 25 of 40) sorted by relevance

12

/external/guava/guava/src/com/google/common/annotations/
H A Dpackage-info.java21 package com.google.common.annotations;
H A DBeta.java17 package com.google.common.annotations;
H A DVisibleForTesting.java17 package com.google.common.annotations;
H A DGwtCompatible.java17 package com.google.common.annotations;
H A DGwtIncompatible.java17 package com.google.common.annotations;
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DAnnotationSetRefItem.java33 private AnnotationSetItem annotations; field in class:AnnotationSetRefItem
38 * @param annotations {@code non-null;} the annotation set to refer to
40 public AnnotationSetRefItem(AnnotationSetItem annotations) { argument
43 if (annotations == null) {
44 throw new NullPointerException("annotations == null");
47 this.annotations = annotations;
60 annotations = wordData.intern(annotations);
66 return annotations
[all...]
H A DFieldAnnotationStruct.java26 * 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;
42 FieldAnnotationStruct(CstFieldRef field, AnnotationSetItem annotations) argument
[all...]
H A DMethodAnnotationStruct.java26 * 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;
42 MethodAnnotationStruct(CstMethodRef method, AnnotationSetItem annotations) argument
[all...]
H A DAnnotationSetItem.java25 * 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) { argument
50 super(ALIGNMENT, writeSize(annotations));
52 this.annotations = annotations;
68 writeSize(Annotations annotations) argument
[all...]
H A DAnnotationsDirectoryItem.java31 * 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) { argument
138 if (annotations == null) {
139 throw new NullPointerException("annotations
156 addFieldAnnotations(CstFieldRef field, Annotations annotations) argument
172 addMethodAnnotations(CstMethodRef method, Annotations annotations) argument
[all...]
H A DClassDefItem.java73 /** {@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) { argument
327 annotationsDirectory.setClassAnnotations(annotations);
331 * Adds a field annotations item to this class.
334 * @param annotations {
336 addFieldAnnotations(CstFieldRef field, Annotations annotations) argument
347 addMethodAnnotations(CstMethodRef method, Annotations annotations) argument
[all...]
/external/proguard/src/proguard/classfile/attribute/annotation/
H A DAnnotationsAttribute.java28 * 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
49 AnnotationsAttribute(int u2attributeNameIndex, int u2annotationsCount, Annotation[] annotations) argument
[all...]
H A DRuntimeInvisibleAnnotationsAttribute.java27 * This Attribute represents a runtime invisible annotations attribute.
46 Annotation[] annotations)
48 super(u2attributeNameIndex, u2annotationsCount, annotations);
44 RuntimeInvisibleAnnotationsAttribute(int u2attributeNameIndex, int u2annotationsCount, Annotation[] annotations) argument
H A DRuntimeVisibleAnnotationsAttribute.java27 * This Attribute represents a runtime visible annotations attribute.
46 Annotation[] annotations)
48 super(u2attributeNameIndex, u2annotationsCount, annotations);
44 RuntimeVisibleAnnotationsAttribute(int u2attributeNameIndex, int u2annotationsCount, Annotation[] annotations) argument
/external/dexmaker/src/dx/java/com/android/dx/rop/annotation/
H A DAnnotations.java39 /** {@code non-null;} map from types to annotations */
40 private final TreeMap<CstType, Annotation> annotations; field in class:Annotations
67 * @param annotations {@code non-null;} the instance to augment
72 public static Annotations combine(Annotations annotations, argument
76 result.addAll(annotations);
87 annotations = new TreeMap<CstType, Annotation>();
93 return annotations.hashCode();
105 return annotations.equals(otherAnnotations.annotations);
110 Iterator<Annotation> thisIter = annotations
[all...]
/external/junit/src/org/junit/experimental/theories/
H A DParameterSignature.java36 private final Annotation[] annotations; field in class:ParameterSignature
38 private ParameterSignature(Class<?> type, Annotation[] annotations) { argument
40 this.annotations= annotations;
52 return Arrays.asList(annotations);
64 Annotation[] annotations2= annotations;
69 Annotation[] annotations, Class<T> annotationType, int depth) {
72 for (Annotation each : annotations) {
68 findDeepAnnotation( Annotation[] annotations, Class<T> annotationType, int depth) argument
/external/smali/dexlib/src/main/java/org/jf/dexlib/
H A DAnnotationSetItem.java41 private AnnotationItem[] annotations; field in class:AnnotationSetItem
52 * Creates a new <code>AnnotationSetItem</code> for the given annotations
54 * @param annotations The annotations for this <code>AnnotationSetItem</code>
56 private AnnotationSetItem(DexFile dexFile, AnnotationItem[] annotations) { argument
58 this.annotations = annotations;
62 * Returns an <code>AnnotationSetItem</code> for the given annotations, and that has been interned into the given
65 * @param annotations The annotations fo
68 internAnnotationSetItem(DexFile dexFile, List<AnnotationItem> annotations) argument
[all...]
H A DClassDefItem.java49 private AnnotationDirectoryItem annotations; field in class:ClassDefItem
69 * @param annotations The annotations for this class and its fields, methods and method parameters, or null if none
79 AnnotationDirectoryItem annotations, ClassDataItem classData,
88 this.annotations = annotations;
95 if (annotations != null) {
96 annotations.setParent(this);
109 * @param annotations The annotations fo
77 ClassDefItem(DexFile dexFile, TypeIdItem classType, int accessFlags, TypeIdItem superType, TypeListItem implementedInterfaces, StringIdItem sourceFile, AnnotationDirectoryItem annotations, ClassDataItem classData, EncodedArrayItem staticFieldInitializers) argument
118 internClassDefItem(DexFile dexFile, TypeIdItem classType, int accessFlags, TypeIdItem superType, TypeListItem implementedInterfaces, StringIdItem sourceFile, AnnotationDirectoryItem annotations, ClassDataItem classData, List<StaticFieldInitializer> staticFieldInitializers) argument
152 lookupClassDefItem(DexFile dexFile, TypeIdItem classType, int accessFlags, TypeIdItem superType, TypeListItem implementedInterfaces, StringIdItem sourceFile, AnnotationDirectoryItem annotations, ClassDataItem classData, List<StaticFieldInitializer> staticFieldInitializers) argument
[all...]
/external/android-mock/src/com/google/android/testing/mocking/
H A DUsesMocksProcessor.java46 * specified by {@link UsesMocks} annotations.
71 public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment environment) { argument
127 * Finds all of the classes that should be mocked, based on {@link UsesMocks} annotations
130 * @param annotatedElements a Set of all elements holding {@link UsesMocks} annotations.
/external/doclava/src/com/google/doclava/
H A DMemberInfo.java26 ArrayList<AnnotationInstanceInfo> annotations) {
40 mAnnotations = annotations;
132 public ArrayList<AnnotationInstanceInfo> annotations() { method in class:MemberInfo
22 MemberInfo(String rawCommentText, String name, String signature, ClassInfo containingClass, ClassInfo realContainingClass, boolean isPublic, boolean isProtected, boolean isPackagePrivate, boolean isPrivate, boolean isFinal, boolean isStatic, boolean isSynthetic, String kind, SourcePositionInfo position, ArrayList<AnnotationInstanceInfo> annotations) argument
H A DFieldInfo.java35 SourcePositionInfo position, ArrayList<AnnotationInstanceInfo> annotations) {
38 position, annotations);
49 annotations());
109 for (AnnotationInstanceInfo annotation : annotations()) {
31 FieldInfo(String name, ClassInfo containingClass, ClassInfo realContainingClass, boolean isPublic, boolean isProtected, boolean isPackagePrivate, boolean isPrivate, boolean isFinal, boolean isStatic, boolean isTransient, boolean isVolatile, boolean isSynthetic, TypeInfo type, String rawCommentText, Object constantValue, SourcePositionInfo position, ArrayList<AnnotationInstanceInfo> annotations) argument
/external/junit/src/org/junit/runner/
H A DDescription.java35 * @param annotations
38 public static Description createSuiteDescription(String name, Annotation... annotations) { argument
41 return new Description(name, annotations);
49 * @param annotations meta-data about the test, for downstream interpreters
52 public static Description createTestDescription(Class<?> clazz, String name, Annotation... annotations) { argument
53 return new Description(String.format("%s(%s)", name, clazz.getName()), annotations);
94 private Description(final String displayName, Annotation... annotations) { argument
96 fAnnotations= annotations;
192 * @return all of the annotations attached to this description node
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DByteArrayAnnotatedOutput.java47 /** 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
90 * keep annotations by default.
111 this.annotations = null;
351 return (annotations != null);
361 if (annotations
[all...]
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
H A DByteArrayAnnotatedOutput.java55 /** whether annotations are to be verbose */
59 * null-ok; list of annotations, or <code>null</code> if this instance
62 private ArrayList<Annotation> annotations; field in class:ByteArrayAnnotatedOutput
69 * in annotations
81 * instance does not keep annotations by default.
91 * reallocated. The constructed instance does not keep annotations
113 this.annotations = null;
370 return (annotations != null);
380 if (annotations == null) {
385 annotations
[all...]
H A DByteArrayOutput.java53 /** whether annotations are to be verbose */
57 * null-ok; list of annotations, or <code>null</code> if this instance
60 private ArrayList<Annotation> annotations; field in class:ByteArrayOutput
67 * in annotations
76 * instance does not keep annotations by default.
86 * reallocated. The constructed instance does not keep annotations
108 this.annotations = null;
352 return (annotations != null);
362 if (annotations == null) {
367 annotations
[all...]

Completed in 326 milliseconds

12