Home
last modified time | relevance | path

Searched defs:annotation (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/external/junit-params/src/main/java/junitparams/converters/
DParamAnnotation.java7 public static boolean matches(Annotation annotation) { in matches()
11 …public static Object convert(Annotation annotation, Object param) throws ConversionFailedException… in convert()
15 private static Param getParam(Annotation annotation) { in getParam()
22 private static Converter converter(Annotation annotation) { in converter()
/external/testng/src/test/java/test/annotationtransformer/
DMyListenerTransformer.java16 public void transform(IListenersAnnotation annotation, Class testClass) { in transform()
21 public void transform(IConfigurationAnnotation annotation, Class testClass, in transform()
25 public void transform(IDataProviderAnnotation annotation, Method method) {} in transform()
28 public void transform(IFactoryAnnotation annotation, Method method) {} in transform()
31 public void transform(ITestAnnotation annotation, Class testClass, Constructor testConstructor, in transform()
DFactoryTransformer.java15 public void transform(IConfigurationAnnotation annotation, Class testClass, in transform()
21 public void transform(IDataProviderAnnotation annotation, Method testMethod) { in transform()
25 public void transform(ITestAnnotation annotation, Class testClass, in transform()
31 public void transform(IFactoryAnnotation annotation, Method testMethod) { in transform()
DDataProviderTransformer.java15 public void transform(IConfigurationAnnotation annotation, Class testClass, in transform()
21 public void transform(IDataProviderAnnotation annotation, Method testMethod) { in transform()
26 public void transform(ITestAnnotation annotation, Class testClass, in transform()
32 public void transform(IFactoryAnnotation annotation, Method testMethod) { in transform()
DConfigurationTransformer.java15 public void transform(ITestAnnotation annotation, Class testClass, in transform()
21 public void transform(IConfigurationAnnotation annotation, Class testClass, in transform()
30 public void transform(IDataProviderAnnotation annotation, Method testMethod) { in transform()
34 public void transform(IFactoryAnnotation annotation, Method testMethod) { in transform()
/external/junit/src/main/java/org/junit/internal/runners/rules/
DRuleMemberValidator.java71 private final Class<? extends Annotation> annotation; field in RuleMemberValidator
112 private final Class<? extends Annotation> annotation; field in RuleMemberValidator.Builder
116 private Builder(Class<? extends Annotation> annotation) { in Builder()
160 …void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throwable> e… in validate()
167 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate()
192 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate()
204 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate()
220 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate()
232 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate()
245 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate()
[all …]
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/
DElementValueVisitor.java34 …public void visitConstantElementValue( Clazz clazz, Annotation annotation, Const… in visitConstantElementValue()
35 …public void visitEnumConstantElementValue(Clazz clazz, Annotation annotation, EnumC… in visitEnumConstantElementValue()
36 …public void visitClassElementValue( Clazz clazz, Annotation annotation, Class… in visitClassElementValue()
37 …public void visitAnnotationElementValue( Clazz clazz, Annotation annotation, Annot… in visitAnnotationElementValue()
38 …public void visitArrayElementValue( Clazz clazz, Annotation annotation, Array… in visitArrayElementValue()
DAnnotationVisitor.java37 …id visitAnnotation(Clazz clazz, Annotation annotation); in visitAnnotation()
38 …id visitAnnotation(Clazz clazz, Field field, Annotation annotation); in visitAnnotation()
39 …id visitAnnotation(Clazz clazz, Method method, Annotation annotation); in visitAnnotation()
40 …id visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation); in visitAnnotation()
41 …id visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation); in visitAnnotation()
DAllElementValueVisitor.java136 public void visitAnnotation(Clazz clazz, Annotation annotation) in visitAnnotation()
142 public void visitAnnotation(Clazz clazz, Field field, Annotation annotation) in visitAnnotation()
148 public void visitAnnotation(Clazz clazz, Method method, Annotation annotation) in visitAnnotation()
154 … public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) in visitAnnotation()
160 …oid visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation) in visitAnnotation()
168 …public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue con… in visitConstantElementValue()
174 …public void visitEnumConstantElementValue(Clazz clazz, Annotation annotation, EnumConstantElementV… in visitEnumConstantElementValue()
180 …public void visitClassElementValue(Clazz clazz, Annotation annotation, ClassElementValue classElem… in visitClassElementValue()
186 …public void visitAnnotationElementValue(Clazz clazz, Annotation annotation, AnnotationElementValue… in visitAnnotationElementValue()
197 …public void visitArrayElementValue(Clazz clazz, Annotation annotation, ArrayElementValue arrayElem… in visitArrayElementValue()
DAnnotationTypeFilter.java59 public void visitAnnotation(Clazz clazz, Annotation annotation) in visitAnnotation()
68 public void visitAnnotation(Clazz clazz, Field field, Annotation annotation) in visitAnnotation()
77 public void visitAnnotation(Clazz clazz, Method method, Annotation annotation) in visitAnnotation()
86 … public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) in visitAnnotation()
95 …oid visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation) in visitAnnotation()
/external/libbackup/src/com/google/android/libraries/backup/
DBackupKeyPredicates.java27 Class<? extends Annotation> annotation, Class<?>... klasses) { in buildPredicateFromAnnotatedFieldsIn()
41 Class<? extends Annotation> annotation, Class<?>... klasses) { in buildPredicateFromAnnotatedRegexFieldsIn()
51 Class<? extends Annotation> annotation, Class<?>... klasses) { in getAnnotatedFieldValues()
60 Class<? extends Annotation> annotation, Class<?> klass, Set<String> values) { in addAnnotatedFieldValues()
67 Class<? extends Annotation> annotation, Field field, Set<String> values) { in addFieldValueIfAnnotated()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DAnnotationPool.java49 public void intern(@Nonnull Annotation annotation) { in intern()
60 @Override public int getVisibility(@Nonnull Annotation annotation) { in getVisibility()
64 @Nonnull @Override public CharSequence getType(@Nonnull Annotation annotation) { in getType()
68 …erride public Collection<? extends AnnotationElement> getElements(@Nonnull Annotation annotation) { in getElements()
/external/libtextclassifier/actions/
Dranker_test.cc93 ActionSuggestionAnnotation annotation; in TEST() local
104 ActionSuggestionAnnotation annotation; in TEST() local
115 ActionSuggestionAnnotation annotation; in TEST() local
145 ActionSuggestionAnnotation annotation; in TEST() local
156 ActionSuggestionAnnotation annotation; in TEST() local
167 ActionSuggestionAnnotation annotation; in TEST() local
199 ActionSuggestionAnnotation annotation; in TEST() local
210 ActionSuggestionAnnotation annotation; in TEST() local
274 ActionSuggestionAnnotation annotation; in TEST() local
304 ActionSuggestionAnnotation annotation; in TEST() local
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DAnnotationTest.java39 Annotation annotation = Annotation.fromDescription("MyAnnotationText"); in fromDescription() local
59 Annotation annotation = Annotation.fromDescriptionAndAttributes("MyAnnotationText", attributes); in fromDescriptionAndAttributes() local
66 Annotation annotation = in fromDescriptionAndAttributes_EmptyAttributes() local
93 Annotation annotation = Annotation.fromDescription("MyAnnotationText"); in annotation_ToString() local
/external/testng/src/main/java/org/testng/
DIAnnotationTransformer2.java30 public void transform(IConfigurationAnnotation annotation, Class testClass, in transform()
38 public void transform(IDataProviderAnnotation annotation, Method method); in transform()
45 public void transform(IFactoryAnnotation annotation, Method method); in transform()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
DNodeWithAnnotationsBuildersTest.java45 NormalAnnotationExpr annotation = testClass.addAndGetAnnotation(hey.class); in testAddAnnotation() local
73 NormalAnnotationExpr annotation = testClass.addAndGetAnnotation(hey.class); in testGetAnnotationByName() local
79 NormalAnnotationExpr annotation = testClass.addAndGetAnnotation(hey.class); in testGetAnnotationByClass() local
/external/proguard/src/proguard/shrink/
DAnnotationUsageMarker.java123 public void visitAnnotation(Clazz clazz, Annotation annotation) in visitAnnotation()
144 …public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue con… in visitConstantElementValue()
157 …public void visitEnumConstantElementValue(Clazz clazz, Annotation annotation, EnumConstantElementV… in visitEnumConstantElementValue()
178 …public void visitClassElementValue(Clazz clazz, Annotation annotation, ClassElementValue classElem… in visitClassElementValue()
196 …public void visitAnnotationElementValue(Clazz clazz, Annotation annotation, AnnotationElementValue… in visitAnnotationElementValue()
219 …public void visitArrayElementValue(Clazz clazz, Annotation annotation, ArrayElementValue arrayElem… in visitArrayElementValue()
294 private boolean isReferencedClassUsed(Annotation annotation) in isReferencedClassUsed()
/external/guice/core/src/com/google/inject/
DKey.java91 protected Key(Annotation annotation) { in Key()
159 Annotation annotation = annotationStrategy.getAnnotation(); in getAnnotationName() local
223 public static <T> Key<T> get(Class<T> type, Annotation annotation) { in get()
238 public static Key<?> get(Type type, Annotation annotation) { in get()
254 public static <T> Key<T> get(TypeLiteral<T> typeLiteral, Annotation annotation) { in get()
314 static AnnotationStrategy strategyFor(Annotation annotation) { in strategyFor()
386 final Annotation annotation; field in Key.AnnotationInstanceStrategy
388 AnnotationInstanceStrategy(Annotation annotation) { in AnnotationInstanceStrategy()
438 final Annotation annotation; field in Key.AnnotationTypeStrategy
440 AnnotationTypeStrategy(Class<? extends Annotation> annotationType, Annotation annotation) { in AnnotationTypeStrategy()
/external/proguard/src/proguard/classfile/editor/
DElementValueAdder.java100 …public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue con… in visitConstantElementValue()
117 …public void visitEnumConstantElementValue(Clazz clazz, Annotation annotation, EnumConstantElementV… in visitEnumConstantElementValue()
137 …public void visitClassElementValue(Clazz clazz, Annotation annotation, ClassElementValue classElem… in visitClassElementValue()
156 …public void visitAnnotationElementValue(Clazz clazz, Annotation annotation, AnnotationElementValue… in visitAnnotationElementValue()
176 …public void visitArrayElementValue(Clazz clazz, Annotation annotation, ArrayElementValue arrayElem… in visitArrayElementValue()
/external/desugar/java/com/google/devtools/common/options/processor/
DOptionProcessor.java175 Option annotation = optionField.getAnnotation(Option.class); in getAcceptedConverterReturnTypes() local
321 Option annotation = optionField.getAnnotation(Option.class); in checkConverter() local
362 Option annotation = optionField.getAnnotation(Option.class); in checkEffectTagRationality() local
395 Option annotation = optionField.getAnnotation(Option.class); in checkMetadataTagAndCategoryRationality() local
417 Option annotation = optionField.getAnnotation(Option.class); in checkOldCategoriesAreNotUsed() local
428 Option annotation = optionField.getAnnotation(Option.class); in checkOptionName() local
454 Option annotation = optionField.getAnnotation(Option.class); in checkExpansionOptions() local
/external/guice/core/src/com/google/inject/internal/
DProvidesMethodScanner.java58 Binder binder, Annotation annotation, Key<T> key, InjectionPoint injectionPoint) { in prepareMethod()
101 final Annotation annotation; field in ProvidesMethodScanner.AnnotationOrError
104 AnnotationOrError(Annotation annotation, boolean error) { in AnnotationOrError()
109 static AnnotationOrError forPossiblyNullAnnotation(Annotation annotation) { in forPossiblyNullAnnotation()
/external/testng/src/main/java/org/testng/internal/
DDataProviderHolder.java13 IDataProviderAnnotation annotation; field in DataProviderHolder
15 public DataProviderHolder(IDataProviderAnnotation annotation, Method method, Object instance) { in DataProviderHolder()
/external/mockito/src/main/java/org/mockito/internal/configuration/
DIndependentAnnotationEngine.java37 private Object createMockFor(Annotation annotation, Field field) { in createMockFor()
41 private <A extends Annotation> FieldAnnotationProcessor<A> forAnnotation(A annotation) { in forAnnotation()
DMockAnnotationProcessor.java18 public Object process(Mock annotation, Field field) { in process()
22 public static Object processAnnotationForMock(Mock annotation, Class<?> type, String name) { in processAnnotationForMock()
/external/grpc-grpc-java/testing-proto/src/test/java/io/grpc/testing/protobuf/
DSimpleServiceTest.java88 MethodDescriptor<SimpleRequest, SimpleResponse> descriptor, RpcMethod annotation) { in verifyRpcMethodAnnotation()
116 RpcMethod annotation = enclosedElement.getAnnotation(RpcMethod.class); in process() local
118 methodToAnnotation.put(enclosedElement.getSimpleName().toString(), annotation); in process() local

12345678910>>...12