Home
last modified time | relevance | path

Searched refs:annotationClass (Results 1 – 25 of 38) sorted by relevance

12

/external/guava/guava-testlib/test/com/google/common/collect/testing/features/
DFeatureEnumTest.java36 Class<? extends Annotation> annotationClass) { in assertGoodTesterAnnotation() argument
39 annotationClass), in assertGoodTesterAnnotation()
40 annotationClass.getAnnotation(TesterAnnotation.class)); in assertGoodTesterAnnotation()
42 annotationClass.getAnnotation(Retention.class); in assertGoodTesterAnnotation()
44 String.format("%s must have a @Retention annotation.", annotationClass), in assertGoodTesterAnnotation()
47 String.format("%s must have RUNTIME RetentionPolicy.", annotationClass), in assertGoodTesterAnnotation()
50 String.format("%s must be inherited.", annotationClass), in assertGoodTesterAnnotation()
51 annotationClass.getAnnotation(Inherited.class)); in assertGoodTesterAnnotation()
56 method = annotationClass.getMethod(propertyName); in assertGoodTesterAnnotation()
59 annotationClass, propertyName)); in assertGoodTesterAnnotation()
[all …]
/external/testng/src/main/java/org/testng/internal/annotations/
DJDK15TagFactory.java50 … Class<A> annotationClass, IAnnotationTransformer transformer) { in createTag() argument
54 if (annotationClass == IConfigurationAnnotation.class) { in createTag()
57 else if (annotationClass == IDataProviderAnnotation.class) { in createTag()
60 else if (annotationClass == IExpectedExceptionsAnnotation.class) { in createTag()
63 else if (annotationClass == IFactoryAnnotation.class) { in createTag()
66 else if (annotationClass == IParametersAnnotation.class) { in createTag()
69 else if (annotationClass == IObjectFactoryAnnotation.class) { in createTag()
72 else if (annotationClass == ITestAnnotation.class) { in createTag()
75 else if (annotationClass == IListenersAnnotation.class) { in createTag()
78 else if (annotationClass == IBeforeSuite.class || annotationClass == IAfterSuite.class || in createTag()
[all …]
DJDK15AnnotationFinder.java104 public <A extends IAnnotation> A findAnnotation(Method m, Class<A> annotationClass) { in findAnnotation() argument
105 final Class<? extends Annotation> a = m_annotationMap.get(annotationClass); in findAnnotation()
108 + annotationClass + "' not found."); in findAnnotation()
111 return findAnnotation(m.getDeclaringClass(), annotation, annotationClass, null, null, m, in findAnnotation()
116 public <A extends IAnnotation> A findAnnotation(ITestNGMethod tm, Class<A> annotationClass) { in findAnnotation() argument
117 final Class<? extends Annotation> a = m_annotationMap.get(annotationClass); in findAnnotation()
120 + annotationClass + "' not found."); in findAnnotation()
133 return findAnnotation(testClass, annotation, annotationClass, null, null, m, in findAnnotation()
185 public <A extends IAnnotation> A findAnnotation(Class<?> cls, Class<A> annotationClass) { in findAnnotation() argument
186 final Class<? extends Annotation> a = m_annotationMap.get(annotationClass); in findAnnotation()
[all …]
DIAnnotationFinder.java24 public <A extends IAnnotation> A findAnnotation(Class<?> cls, Class<A> annotationClass); in findAnnotation() argument
33 public <A extends IAnnotation> A findAnnotation(Method m, Class<A> annotationClass); in findAnnotation() argument
34 <A extends IAnnotation> A findAnnotation(ITestNGMethod m, Class<A> annotationClass); in findAnnotation() argument
43 public <A extends IAnnotation> A findAnnotation(Constructor<?> cons, Class<A> annotationClass); in findAnnotation() argument
DAnnotationHelper.java196 Class<? extends IAnnotation> annotationClass, IAnnotationFinder annotationFinder, in findMethodsWithAnnotation() argument
219 boolean hasClassAnnotation = isAnnotationPresent(annotationFinder, cls, annotationClass); in findMethodsWithAnnotation()
222 boolean hasMethodAnnotation = isAnnotationPresent(annotationFinder, m, annotationClass); in findMethodsWithAnnotation()
277 public static Annotation findAnnotationSuperClasses(Class<?> annotationClass, Class c) { in findAnnotationSuperClasses() argument
279 Annotation result = c.getAnnotation(annotationClass); in findAnnotationSuperClasses()
299 Class<? extends IAnnotation> annotationClass) { in isAnnotationPresent() argument
300 return annotationFinder.findAnnotation(m, annotationClass) != null; in isAnnotationPresent()
304 Class<? extends IAnnotation> annotationClass) { in isAnnotationPresent() argument
305 return annotationFinder.findAnnotation(cls, annotationClass) != null; in isAnnotationPresent()
/external/junit/src/org/junit/runners/model/
DTestClass.java69 Class<? extends Annotation> annotationClass) { in getAnnotatedMethods() argument
70 return getAnnotatedMembers(fMethodsForAnnotations, annotationClass); in getAnnotatedMethods()
78 Class<? extends Annotation> annotationClass) { in getAnnotatedFields() argument
79 return getAnnotatedMembers(fFieldsForAnnotations, annotationClass); in getAnnotatedFields()
141 Class<? extends Annotation> annotationClass, Class<T> valueClass) { in getAnnotatedFieldValues() argument
143 for (FrameworkField each : getAnnotatedFields(annotationClass)) { in getAnnotatedFieldValues()
/external/mockito/src/org/mockito/internal/util/reflection/
DInstanceField.java69 public boolean isAnnotatedBy(Class<? extends Annotation> annotationClass) { in isAnnotatedBy() argument
70 return field.isAnnotationPresent(annotationClass); in isAnnotatedBy()
80 public <A extends Annotation> A annotation(Class<A> annotationClass) { in annotation() argument
81 return field.getAnnotation(annotationClass); in annotation()
/external/guava/guava/src/com/google/common/reflect/
DElement.java52 @Override public final boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() argument
53 return accessibleObject.isAnnotationPresent(annotationClass); in isAnnotationPresent()
56 @Override public final <A extends Annotation> A getAnnotation(Class<A> annotationClass) { in getAnnotation() argument
57 return accessibleObject.getAnnotation(annotationClass); in getAnnotation()
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/
DFeatureUtil.java198 Class<? extends Annotation> annotationClass = a.annotationType(); in getTesterAnnotations() local
199 if (annotationClass.isAnnotationPresent(TesterAnnotation.class)) { in getTesterAnnotations()
217 Class<? extends Annotation> annotationClass = testerAnnotation.annotationType(); in buildTesterRequirements() local
221 presentFeatures = (Feature[]) annotationClass.getMethod("value") in buildTesterRequirements()
223 absentFeatures = (Feature[]) annotationClass.getMethod("absent") in buildTesterRequirements()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliAnnotationElementName.java93 PsiClass annotationClass = facade.findClass(annotationType, getResolveScope()); in resolve() local
94 if (annotationClass == null) { in resolve()
98 for (PsiMethod method : annotationClass.findMethodsByName(getName(), true)) { in resolve()
/external/junit/src/org/junit/internal/runners/
DTestClass.java41 public List<Method> getAnnotatedMethods(Class<? extends Annotation> annotationClass) { in getAnnotatedMethods() argument
46 Annotation annotation= eachMethod.getAnnotation(annotationClass); in getAnnotatedMethods()
51 if (runsTopToBottom(annotationClass)) in getAnnotatedMethods()
/external/caliper/caliper/src/main/java/com/google/caliper/util/
DReflection.java31 Class<? extends Annotation> annotationClass) { in getAnnotatedMethods() argument
35 if (method.isAnnotationPresent(annotationClass)) { in getAnnotatedMethods()
/external/testng/src/main/java/org/testng/xml/dom/
DReflect.java30 for (Class<? extends Annotation> annotationClass : annotations) { in findSetterForTag()
32 = findMethodsWithAnnotation(c, annotationClass, bean); in findSetterForTag()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DParameterSet.java37 public static ParameterSet create(Class<?> theClass, Class<? extends Annotation> annotationClass) in create() argument
44 if (field.isAnnotationPresent(annotationClass)) { in create()
/external/mockito/src/org/mockito/internal/configuration/
DDefaultAnnotationEngine.java57 …private <A extends Annotation> void registerAnnotationProcessor(Class<A> annotationClass, FieldAnn…
58 annotationProcessorMap.put(annotationClass, fieldAnnotationProcessor);
/external/testng/src/main/java/org/testng/internal/
DBaseTestMethod.java433 protected void initGroups(Class<? extends ITestOrConfiguration> annotationClass) { in initGroups() argument
438 …estOrConfiguration annotation = getAnnotationFinder().findAnnotation(getMethod(), annotationClass); in initGroups()
439 …nnotation = getAnnotationFinder().findAnnotation(getMethod().getDeclaringClass(), annotationClass); in initGroups()
449 …estOrConfiguration annotation = getAnnotationFinder().findAnnotation(getMethod(), annotationClass); in initGroups()
450 …nnotation = getAnnotationFinder().findAnnotation(getMethod().getDeclaringClass(), annotationClass); in initGroups()
DParameters.java349 IAnnotationFinder finder, XmlSuite xmlSuite, Class annotationClass, String atName) in createParameters() argument
369 IParameterizable a = (IParameterizable) finder.findAnnotation(m, annotationClass); in createParameters()
/external/vogar/src/vogar/target/junit/
DJunit4.java136 Class<?> annotationClass = a.annotationType(); in isJunit4Test() local
138 if (RunWith.class.isAssignableFrom(annotationClass)) { in isJunit4Test()
145 } else if (Suite.SuiteClasses.class.isAssignableFrom(annotationClass)) { in isJunit4Test()
/external/guice/core/src/com/google/inject/internal/
DProviderMethodsModule.java186 for (Class<? extends Annotation> annotationClass : scanner.annotationClasses()) { in isProvider()
187 Annotation foundAnnotation = method.getAnnotation(annotationClass); in isProvider()
/external/dagger2/lib/
Dauto-common-1.0-20151022.071545-39.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/opencv3/modules/java/pure_test/lib/
Djunit-4.11.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jdt.apt.core_3.3.401.R36_v20100727-0110.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/guice/extensions/persist/lib/
Dxwork-2.0.4.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/opensymphony/ com/ ...
/external/owasp/sanitizer/lib/junit/
Djunit-dep.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/external/libphonenumber/lib/
Djunit-4.8.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...

12