Searched refs:annotation (Results 126 - 150 of 1251) sorted by relevance

1234567891011>>

/external/guava/guava/src/com/google/common/util/concurrent/
H A Dpackage-info.java35 import javax.annotation.ParametersAreNonnullByDefault;
/external/junit/src/org/junit/
H A DTest.java3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention;
5 import java.lang.annotation.RetentionPolicy;
6 import java.lang.annotation.Target;
9 * <p>The <code>Test</code> annotation tells JUnit that the <code>public void</code> method
27 * <p>The <code>Test</code> annotation supports two optional parameters.
/external/mockito/src/org/mockito/
H A DSpy.java7 import java.lang.annotation.*;
9 import static java.lang.annotation.ElementType.FIELD;
10 import static java.lang.annotation.RetentionPolicy.RUNTIME;
H A DCaptor.java7 import java.lang.annotation.*;
32 * One of the advantages of using &#64;Captor annotation is that you can avoid warnings related capturing complex generic types.
/external/guava/guava/src/com/google/common/annotations/
H A DBeta.java19 import java.lang.annotation.Documented;
20 import java.lang.annotation.ElementType;
21 import java.lang.annotation.Retention;
22 import java.lang.annotation.RetentionPolicy;
23 import java.lang.annotation.Target;
28 * this annotation is exempt from any compatibility guarantees made by its
/external/mockito/src/org/mockito/internal/configuration/
H A DMockAnnotationProcessor.java17 public Object process(Mock annotation, Field field) { argument
19 if (annotation.extraInterfaces().length > 0) { // never null
20 mockSettings.extraInterfaces(annotation.extraInterfaces());
22 if ("".equals(annotation.name())) {
25 mockSettings.name(annotation.name());
27 if(annotation.serializable()){
32 mockSettings.defaultAnswer(annotation.answer().get());
H A DFieldAnnotationProcessor.java7 import java.lang.annotation.Annotation;
11 * Simple annotation processor interface.
14 Object process(A annotation, Field field); argument
/external/proguard/src/proguard/classfile/editor/
H A DAnnotationAdder.java24 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) argument
103 new Annotation(constantAdder.addConstant(clazz, annotation.u2typeIndex),
105 annotation.u2elementValuesCount > 0 ?
106 new ElementValue[annotation
132 visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) argument
[all...]
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dannotations.jar ... java.lang.Object implements java.lang.annotation.Annotation { } edu/umd/cs/findbugs/annotations/CheckReturnValue.class ...
/external/proguard/src/proguard/classfile/attribute/annotation/
H A DArrayElementValue.java21 package proguard.classfile.attribute.annotation;
24 import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor;
66 public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) argument
68 elementValueVisitor.visitArrayElementValue(clazz, annotation, this);
75 public void elementValuesAccept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) argument
79 elementValues[index].accept(clazz, annotation, elementValueVisitor);
H A DAnnotationElementValue.java21 package proguard.classfile.attribute.annotation;
24 import proguard.classfile.attribute.annotation.visitor.*;
27 * This ElementValue represents an annotation element value.
57 * Applies the given visitor to the annotation.
72 public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) argument
74 elementValueVisitor.visitAnnotationElementValue(clazz, annotation, this);
H A DConstantElementValue.java21 package proguard.classfile.attribute.annotation;
24 import proguard.classfile.attribute.annotation.visitor.ElementValueVisitor;
67 public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) argument
69 elementValueVisitor.visitConstantElementValue(clazz, annotation, this);
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
H A DAnnotationFormatter.java44 for (Annotation annotation: annotations) {
50 writeTo(writer, annotation);
54 public static void writeTo(IndentingWriter writer, Annotation annotation) throws IOException { argument
55 writer.write(".annotation ");
56 writer.write(AnnotationVisibility.getVisibility(annotation.getVisibility()));
58 writer.write(annotation.getType());
61 AnnotationEncodedValueAdaptor.writeElementsTo(writer, annotation.getElements());
63 writer.write(".end annotation\n");
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/identity/
H A DUniqueIdentificationGenerator.java7 import javax.annotation.Nullable;
/external/proguard/examples/annotations/examples/
H A DApplication.java1 import proguard.annotation.KeepApplication;
11 * The annotation will preserve the class and its main method.
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
H A DAnnotationPool.java39 import javax.annotation.Nonnull;
57 public void intern(@Nonnull Annotation annotation) { argument
58 Integer prev = internedItems.put(annotation, 0);
60 typePool.intern(annotation.getType());
61 for (AnnotationElement element: annotation.getElements()) {
68 @Override public int getVisibility(@Nonnull Annotation annotation) { argument
69 return annotation.getVisibility();
72 @Nonnull @Override public CharSequence getType(@Nonnull Annotation annotation) { argument
73 return annotation.getType();
76 @Nonnull @Override public Collection<? extends AnnotationElement> getElements(@Nonnull Annotation annotation) { argument
[all...]
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/
H A DAllElementValueVisitor.java21 package proguard.classfile.attribute.annotation.visitor;
25 import proguard.classfile.attribute.annotation.*;
137 public void visitAnnotation(Clazz clazz, Annotation annotation) argument
139 annotation.elementValuesAccept(clazz, this);
143 public void visitAnnotation(Clazz clazz, Field field, Annotation annotation) argument
145 annotation.elementValuesAccept(clazz, this);
149 public void visitAnnotation(Clazz clazz, Method method, Annotation annotation) argument
151 annotation.elementValuesAccept(clazz, this);
155 public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) argument
157 annotation
163 visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue constantElementValue) argument
169 visitEnumConstantElementValue(Clazz clazz, Annotation annotation, EnumConstantElementValue enumConstantElementValue) argument
175 visitClassElementValue(Clazz clazz, Annotation annotation, ClassElementValue classElementValue) argument
181 visitAnnotationElementValue(Clazz clazz, Annotation annotation, AnnotationElementValue annotationElementValue) argument
192 visitArrayElementValue(Clazz clazz, Annotation annotation, ArrayElementValue arrayElementValue) argument
[all...]
/external/chromium_org/base/android/java/src/org/chromium/base/
H A DUsedByReflection.java7 import java.lang.annotation.ElementType;
8 import java.lang.annotation.Target;
15 * Note that adding this annotation to a method is not enough to guarantee that
/external/jsr305/sampleUses/src/main/java/edu/umd/cs/findbugs/examples/
H A DParametersAreSlashedByDefault.java3 import java.lang.annotation.ElementType;
5 import javax.annotation.meta.TypeQualifierDefault;
/external/junit/src/org/junit/experimental/theories/suppliers/
H A DTestedOn.java3 import java.lang.annotation.Retention;
4 import java.lang.annotation.RetentionPolicy;
/external/mockito/src/org/mockito/configuration/
H A DAnnotationEngine.java9 import java.lang.annotation.Annotation;
24 * Only if of correct annotation type.
26 * @param annotation Annotation
30 Object createMockFor(Annotation annotation, Field field); argument
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DTCB.java31 import java.lang.annotation.ElementType;
32 import java.lang.annotation.Target;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/
H A DTryBlock.java34 import javax.annotation.Nonnull;
35 import javax.annotation.Nullable;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/reference/
H A DStringReference.java34 import javax.annotation.Nonnull;
35 import javax.annotation.Nullable;
H A DTypeReference.java34 import javax.annotation.Nonnull;
35 import javax.annotation.Nullable;

Completed in 2706 milliseconds

1234567891011>>