Searched refs:findAnnotation (Results 1 - 25 of 31) sorted by relevance

12

/external/testng/src/main/java/org/testng/internal/annotations/
H A DIAnnotationFinder.java24 public <A extends IAnnotation> A findAnnotation(Class<?> cls, Class<A> annotationClass); method in interface:IAnnotationFinder
33 public <A extends IAnnotation> A findAnnotation(Method m, Class<A> annotationClass); method in interface:IAnnotationFinder
34 <A extends IAnnotation> A findAnnotation(ITestNGMethod m, Class<A> annotationClass); method in interface:IAnnotationFinder
43 public <A extends IAnnotation> A findAnnotation(Constructor<?> cons, Class<A> annotationClass); method in interface:IAnnotationFinder
H A DAnnotationHelper.java32 return finder.findAnnotation(cls, ITestAnnotation.class);
36 return finder.findAnnotation(m, ITestAnnotation.class);
40 return finder.findAnnotation(m, ITestAnnotation.class);
44 return finder.findAnnotation(m, IFactoryAnnotation.class);
48 return finder.findAnnotation(c, IFactoryAnnotation.class);
52 return finder.findAnnotation(ctor, ITestAnnotation.class);
56 IConfigurationAnnotation result = finder.findAnnotation(ctor, IConfigurationAnnotation.class);
58 IConfigurationAnnotation bs = (IConfigurationAnnotation) finder.findAnnotation(ctor, IBeforeSuite.class);
59 IConfigurationAnnotation as = (IConfigurationAnnotation) finder.findAnnotation(ctor, IAfterSuite.class);
60 IConfigurationAnnotation bt = (IConfigurationAnnotation) finder.findAnnotation(cto
[all...]
H A DJDK15AnnotationFinder.java104 public <A extends IAnnotation> A findAnnotation(Method m, Class<A> annotationClass) { method in class:JDK15AnnotationFinder
111 return findAnnotation(m.getDeclaringClass(), annotation, annotationClass, null, null, m,
116 public <A extends IAnnotation> A findAnnotation(ITestNGMethod tm, Class<A> annotationClass) { method in class:JDK15AnnotationFinder
133 return findAnnotation(testClass, annotation, annotationClass, null, null, m,
185 public <A extends IAnnotation> A findAnnotation(Class<?> cls, Class<A> annotationClass) { method in class:JDK15AnnotationFinder
192 return findAnnotation(cls, annotation, annotationClass, cls, null, null,
197 public <A extends IAnnotation> A findAnnotation(Constructor<?> cons, Class<A> annotationClass) { method in class:JDK15AnnotationFinder
204 return findAnnotation(cons.getDeclaringClass(), annotation, annotationClass, null, cons, null,
208 private <A extends IAnnotation> A findAnnotation(Class cls, Annotation a, method in class:JDK15AnnotationFinder
/external/testng/src/test/java/test/mannotation/
H A DMAnnotation2SampleTest.java28 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
35 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
47 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
54 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
67 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
74 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
87 IConfigurationAnnotation test1 = (IConfigurationAnnotation) m_finder.findAnnotation(method, IConfigurationAnnotation.class);
98 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
104 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
116 // ITest test1 = (ITest) m_finder.findAnnotation(metho
[all...]
H A DMAnnotationSampleTest.java34 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(MTest1.class, ITestAnnotation.class);
51 ITestAnnotation test2 = (ITestAnnotation) m_finder.findAnnotation(MTest2.class, ITestAnnotation.class);
67 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class);
90 ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(constructor, ITestAnnotation.class);
112 (IConfigurationAnnotation) m_finder.findAnnotation(method, IConfigurationAnnotation.class);
137 (IConfigurationAnnotation) m_finder.findAnnotation(method, IConfigurationAnnotation.class);
162 (IConfigurationAnnotation) m_finder.findAnnotation(method, IConfigurationAnnotation.class);
187 (IDataProviderAnnotation) m_finder.findAnnotation(method, IDataProviderAnnotation.class);
196 (IExpectedExceptionsAnnotation) m_finder.findAnnotation(method, IExpectedExceptionsAnnotation.class);
206 (IFactoryAnnotation) m_finder.findAnnotation(metho
[all...]
/external/testng/src/main/java/org/testng/internal/
H A DRegexpExpectedExceptionsHolder.java51 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class);
58 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class);
H A DExpectedExceptionsHolder.java28 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class);
35 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class);
H A DTestNGClassFinder.java70 IAnnotation a = annotationFinder.findAnnotation(m,
233 IAnnotation ma= annotationFinder.findAnnotation(m, annotation);
240 IAnnotation a= annotationFinder.findAnnotation(cls, annotation);
247 IAnnotation ca= annotationFinder.findAnnotation(ctor, annotation);
H A DConfigurationMethod.java386 ITestAnnotation classAnnotation = m_annotationFinder.findAnnotation(m_methodClass, ITestAnnotation.class);
445 IAnnotation before = m_annotationFinder.findAnnotation(getMethod(), IBeforeMethod.class);
454 IAnnotation before = m_annotationFinder.findAnnotation(getMethod(), IAfterMethod.class);
H A DClassHelper.java141 IFactoryAnnotation f = finder.findAnnotation(method, IFactoryAnnotation.class);
152 IAnnotation f = finder.findAnnotation(constructor, IFactoryAnnotation.class);
317 IParametersAnnotation annotation = finder.findAnnotation(constructor, IParametersAnnotation.class);
435 IParametersAnnotation annotation = finder.findAnnotation(result, IParametersAnnotation.class);
H A DBaseTestMethod.java438 ITestOrConfiguration annotation = getAnnotationFinder().findAnnotation(getMethod(), annotationClass);
439 ITestOrConfiguration classAnnotation = getAnnotationFinder().findAnnotation(getMethod().getDeclaringClass(), annotationClass);
449 ITestOrConfiguration annotation = getAnnotationFinder().findAnnotation(getMethod(), annotationClass);
450 ITestOrConfiguration classAnnotation = getAnnotationFinder().findAnnotation(getMethod().getDeclaringClass(), annotationClass);
H A DParameters.java324 IDataProviderAnnotation dp = finder.findAnnotation(m, IDataProviderAnnotation.class);
357 IParametersAnnotation annotation = finder.findAnnotation(m, IParametersAnnotation.class);
369 IParameterizable a = (IParameterizable) finder.findAnnotation(m, annotationClass);
H A DClassImpl.java67 ITestAnnotation annotation = m_annotationFinder.findAnnotation(cls, ITestAnnotation.class);
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/iface/
H A DSmaliModifierListOwner.java45 @Nullable @Override SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName); method in interface:SmaliModifierListOwner
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
H A DSmaliTypeElement.java66 @Nullable @Override public PsiAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { method in class:SmaliTypeElement
H A DSmaliClassStatement.java130 public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { method in class:SmaliClassStatement
135 return containingClass.findAnnotation(qualifiedName);
H A DSmaliParameterStatement.java70 @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { method in class:SmaliParameterStatement
H A DSmaliMethodParameter.java207 @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { method in class:SmaliMethodParameter
212 return parameterStatement.findAnnotation(qualifiedName);
H A DSmaliModifierList.java150 @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { method in class:SmaliModifierList
151 return getParentForAnnotations().findAnnotation(qualifiedName);
H A DLightSmaliClassTypeElement.java123 @Nullable @Override public PsiAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { method in class:LightSmaliClassTypeElement
H A DSmaliField.java149 @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { method in class:SmaliField
H A DSmaliMethod.java281 @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { method in class:SmaliMethod
H A DSmaliClass.java378 @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { method in class:SmaliClass
/external/smali/smalidea/src/test/java/org/jf/smalidea/
H A DSmaliAnnotationTest.java189 PsiAnnotation smaliAnnotation = annotationOwner.findAnnotation("my.TestAnnotation");
231 smaliAnnotation = annotationOwner.findAnnotation("my.TestAnnotation2");
H A DSmaliClassModifierListTest.java188 SmaliAnnotation smaliAnnotation = modifierList.findAnnotation("my.pkg.anno2");

Completed in 277 milliseconds

12