/external/jmonkeyengine/engine/src/core/checkers/quals/ |
Unused.java | 3 import static java.lang.annotation.ElementType.FIELD; 4 import java.lang.annotation.*; 40 * receiver that is annotated with the "when" annotation. 42 Class<? extends Annotation> when();
|
/libcore/dex/src/main/java/com/android/dex/ |
Annotation.java | 22 * An annotation. 24 public final class Annotation implements Comparable<Annotation> { 29 public Annotation(Dex dex, byte visibility, EncodedValue encodedAnnotation) { 54 @Override public int compareTo(Annotation other) {
|
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/ |
Annotations.java | 17 package com.android.dexgen.rop.annotation; 28 * List of {@link Annotation} instances. 40 private final TreeMap<CstType, Annotation> annotations; 64 * given instance with the given additional annotation. The latter's 68 * @param annotation {@code non-null;} the additional annotation 73 Annotation annotation) { 77 result.add(annotation); 87 annotations = new TreeMap<CstType, Annotation>(); [all...] |
/dalvik/dx/src/com/android/dx/rop/annotation/ |
Annotations.java | 17 package com.android.dx.rop.annotation; 27 * List of {@link Annotation} instances. 39 private final TreeMap<CstType, Annotation> annotations; 63 * given instance with the given additional annotation. The latter's 67 * @param annotation {@code non-null;} the additional annotation 72 Annotation annotation) { 76 result.add(annotation); 86 annotations = new TreeMap<CstType, Annotation>(); [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/annotation/ |
Annotations.java | 17 package com.android.dx.rop.annotation; 28 * List of {@link Annotation} instances. 40 private final TreeMap<CstType, Annotation> annotations; 64 * given instance with the given additional annotation. The latter's 68 * @param annotation {@code non-null;} the additional annotation 73 Annotation annotation) { 77 result.add(annotation); 87 annotations = new TreeMap<CstType, Annotation>(); [all...] |
/external/proguard/examples/annotations/lib/ |
annotations.jar | |
/prebuilts/tools/common/proguard/proguard4.7/examples/annotations/lib/ |
annotations.jar | |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
AnnotationUtils.java | 19 import com.android.dexgen.rop.annotation.Annotation; 20 import com.android.dexgen.rop.annotation.NameValuePair; 35 import static com.android.dexgen.rop.annotation.AnnotationVisibility.*; 43 CstType.intern(Type.intern("Ldalvik/annotation/AnnotationDefault;")); 47 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingClass;")); 51 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingMethod;")); 55 CstType.intern(Type.intern("Ldalvik/annotation/InnerClass;")); 59 CstType.intern(Type.intern("Ldalvik/annotation/MemberClasses;")); 63 CstType.intern(Type.intern("Ldalvik/annotation/Signature;")) [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
AnnotationUtils.java | 19 import com.android.dx.rop.annotation.Annotation; 20 import static com.android.dx.rop.annotation.AnnotationVisibility.SYSTEM; 21 import com.android.dx.rop.annotation.NameValuePair; 40 * Number of annotation types that dx may add in the dex file that were 47 CstType.intern(Type.intern("Ldalvik/annotation/AnnotationDefault;")); 51 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingClass;")); 55 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingMethod;")); 59 CstType.intern(Type.intern("Ldalvik/annotation/InnerClass;")); 63 CstType.intern(Type.intern("Ldalvik/annotation/MemberClasses;")) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
AnnotationUtils.java | 19 import com.android.dx.rop.annotation.Annotation; 20 import com.android.dx.rop.annotation.NameValuePair; 34 import static com.android.dx.rop.annotation.AnnotationVisibility.*; 42 CstType.intern(Type.intern("Ldalvik/annotation/AnnotationDefault;")); 46 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingClass;")); 50 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingMethod;")); 54 CstType.intern(Type.intern("Ldalvik/annotation/InnerClass;")); 58 CstType.intern(Type.intern("Ldalvik/annotation/MemberClasses;")); 62 CstType.intern(Type.intern("Ldalvik/annotation/Signature;")) [all...] |
/prebuilts/tools/common/m2/internal/com/google/code/findbugs/jsr305/2.0.1/ |
jsr305-2.0.1.jar | |
/prebuilts/tools/common/m2/internal/com/google/code/findbugs/annotations/2.0.1/ |
annotations-2.0.1.jar | |
/external/junit/src/org/junit/runner/ |
Description.java | 4 import java.lang.annotation.Annotation; 38 public static Description createSuiteDescription(String name, Annotation... annotations) { 52 public static Description createTestDescription(Class<?> clazz, String name, Annotation... annotations) { 65 return createTestDescription(clazz, name, new Annotation[0]); 92 private final Annotation[] fAnnotations; 94 private Description(final String displayName, Annotation... annotations) { 181 * @return the annotation of type annotationType that is attached to this description node, 184 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { 185 for (Annotation each : fAnnotations [all...] |
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/ |
AnnotationTypeFilter.java | 21 package proguard.classfile.attribute.annotation.visitor; 24 import proguard.classfile.attribute.annotation.Annotation; 30 * <code>AnnotationVisitor</code>, but only when the visited annotation has 45 * @param regularExpression the regular expression against which annotation 60 public void visitAnnotation(Clazz clazz, Annotation annotation) 62 if (accepted(annotation.getType(clazz))) 64 annotationVisitor.visitAnnotation(clazz, annotation); 69 public void visitAnnotation(Clazz clazz, Field field, Annotation annotation [all...] |
AnnotatedClassVisitor.java | 21 package proguard.classfile.attribute.annotation.visitor; 24 import proguard.classfile.attribute.annotation.Annotation; 31 * The latter visits the class of each visited annotation, although 53 public void visitAnnotation(Clazz clazz, Annotation annotation)
|
AnnotationToMemberVisitor.java | 21 package proguard.classfile.attribute.annotation.visitor; 24 import proguard.classfile.attribute.annotation.Annotation; 31 * The latter visits the class member of each visited class member annotation 32 * or method parameter annotation, although never twice in a row. 53 public void visitAnnotation(Clazz clazz, Member member, Annotation annotation)
|
/external/proguard/src/proguard/classfile/attribute/annotation/ |
ParameterAnnotationsAttribute.java | 21 package proguard.classfile.attribute.annotation; 25 import proguard.classfile.attribute.annotation.visitor.AnnotationVisitor; 36 public Annotation[][] parameterAnnotations; 53 Annotation[][] parameterAnnotations) 72 Annotation[] annotations = parameterAnnotations[parameterIndex]; 78 // type of Annotation.
|
/external/proguard/src/proguard/classfile/editor/ |
AnnotationAdder.java | 24 import proguard.classfile.attribute.annotation.*; 25 import proguard.classfile.attribute.annotation.visitor.AnnotationVisitor; 30 * target annotation element value, target annotation attribute, or target 31 * parameter annotation attribute. 52 * target annotation element value. 100 public void visitAnnotation(Clazz clazz, Annotation annotation) 102 Annotation newAnnotation = 103 new Annotation(constantAdder.addConstant(clazz, annotation.u2typeIndex) [all...] |
/external/apache-harmony/support/src/test/resources/tests/resources/ |
hyts_flushed.jar | |
/frameworks/base/test-runner/src/android/test/suitebuilder/annotation/ |
HasAnnotation.java | 17 package android.test.suitebuilder.annotation; 23 import java.lang.annotation.Annotation; 26 * A predicate that checks to see if a {@link TestMethod} has a specific annotation, either on the 35 public HasAnnotation(Class<? extends Annotation> annotationClass) {
|
/libcore/libart/src/main/java/java/lang/reflect/ |
Constructor.java | 36 import java.lang.annotation.Annotation; 59 public Annotation[] getAnnotations() { 188 @Override public Annotation[] getDeclaredAnnotations() { 189 List<Annotation> result = AnnotationAccess.getDeclaredAnnotations(this); 190 return result.toArray(new Annotation[result.size()]); 193 @Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { 200 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { 213 * @return an array of arrays of {@code Annotation} instances 215 public Annotation[][] getParameterAnnotations() [all...] |
/libcore/luni/src/main/java/java/lang/ |
Package.java | 36 import java.lang.annotation.Annotation; 52 private static final Annotation[] NO_ANNOTATIONS = new Annotation[0]; 76 * Returns the annotation associated with the specified annotation type and 80 * the annotation type to look for. 81 * @return an instance of {@link Annotation} or {@code null}. 85 public <A extends Annotation> A getAnnotation(Class<A> annotationType) { 86 for (Annotation annotation : getAnnotations()) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
AnnotationsTest.java | 19 import java.lang.annotation.Annotation; 20 import java.lang.annotation.Inherited; 21 import java.lang.annotation.Retention; 22 import java.lang.annotation.RetentionPolicy; 59 Annotation[][] parameterAnnotations = method.getParameterAnnotations(); 92 AnnotatedElement element, Class<? extends Annotation>... expectedAnnotations) { 93 Set<Class<? extends Annotation>> actualTypes = annotationsToTypes(element.getAnnotations()); 94 Set<Class<? extends Annotation>> expectedTypes = set(expectedAnnotations); 115 private Set<Class<? extends Annotation>> annotationsToTypes(Annotation[] annotations) [all...] |
/external/javassist/src/main/javassist/bytecode/annotation/ |
AnnotationMemberValue.java | 15 package javassist.bytecode.annotation; 23 * Nested annotation. 29 Annotation value; 32 * Constructs an annotation member. The initial value is not specified. 39 * Constructs an annotation member. The initial value is specified by 42 public AnnotationMemberValue(Annotation a, ConstPool cp) { 63 public Annotation getValue() { 70 public void setValue(Annotation newValue) {
|
/external/mockito/src/org/mockito/internal/configuration/ |
DefaultAnnotationEngine.java | 15 import java.lang.annotation.Annotation;
30 private final Map<Class<? extends Annotation>, FieldAnnotationProcessor<?>> annotationProcessorMap = new HashMap<Class<? extends Annotation>, FieldAnnotationProcessor<?>>();
39 * @see org.mockito.AnnotationEngine#createMockFor(java.lang.annotation.Annotation, java.lang.reflect.Field)
42 public Object createMockFor(Annotation annotation, Field field) {
43 return forAnnotation(annotation).process(annotation, field); [all...] |