Home
last modified time | relevance | path

Searched refs:findAnnotation (Results 1 – 25 of 27) sorted by relevance

12

/external/testng/src/main/java/org/testng/internal/annotations/
DAnnotationHelper.java32 return finder.findAnnotation(cls, ITestAnnotation.class); in findTest()
36 return finder.findAnnotation(m, ITestAnnotation.class); in findTest()
40 return finder.findAnnotation(m, ITestAnnotation.class); in findTest()
44 return finder.findAnnotation(m, IFactoryAnnotation.class); in findFactory()
48 return finder.findAnnotation(c, IFactoryAnnotation.class); in findFactory()
52 return finder.findAnnotation(ctor, ITestAnnotation.class); in findTest()
56 IConfigurationAnnotation result = finder.findAnnotation(ctor, IConfigurationAnnotation.class); in findConfiguration()
58 …IConfigurationAnnotation bs = (IConfigurationAnnotation) finder.findAnnotation(ctor, IBeforeSuite.… in findConfiguration()
59 …IConfigurationAnnotation as = (IConfigurationAnnotation) finder.findAnnotation(ctor, IAfterSuite.c… in findConfiguration()
60 …IConfigurationAnnotation bt = (IConfigurationAnnotation) finder.findAnnotation(ctor, IBeforeTest.c… in findConfiguration()
[all …]
DIAnnotationFinder.java24 public <A extends IAnnotation> A findAnnotation(Class<?> cls, Class<A> annotationClass); in findAnnotation() method
33 public <A extends IAnnotation> A findAnnotation(Method m, Class<A> annotationClass); in findAnnotation() method
34 <A extends IAnnotation> A findAnnotation(ITestNGMethod m, Class<A> annotationClass); in findAnnotation() method
43 public <A extends IAnnotation> A findAnnotation(Constructor<?> cons, Class<A> annotationClass); in findAnnotation() method
DJDK15AnnotationFinder.java104 public <A extends IAnnotation> A findAnnotation(Method m, Class<A> annotationClass) { in findAnnotation() method in JDK15AnnotationFinder
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() method in JDK15AnnotationFinder
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() method in JDK15AnnotationFinder
192 return findAnnotation(cls, annotation, annotationClass, cls, null, null, in findAnnotation()
197 public <A extends IAnnotation> A findAnnotation(Constructor<?> cons, Class<A> annotationClass) { in findAnnotation() method in JDK15AnnotationFinder
204 return findAnnotation(cons.getDeclaringClass(), annotation, annotationClass, null, cons, null, in findAnnotation()
208 private <A extends IAnnotation> A findAnnotation(Class cls, Annotation a, in findAnnotation() method in JDK15AnnotationFinder
/external/testng/src/test/java/test/mannotation/
DMAnnotation2SampleTest.java28 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestGroupsInheritance()
35 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestGroupsInheritance()
47 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestDependsOnGroupsInheritance()
54 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestDependsOnGroupsInheritance()
67 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestDependsOnMethodsInheritance()
74 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestDependsOnMethodsInheritance()
87 …IConfigurationAnnotation test1 = (IConfigurationAnnotation) m_finder.findAnnotation(method, IConfi… in verifyConfigurationGroupsInheritance()
98 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestEnabledInheritance()
104 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestEnabledInheritance()
DMAnnotationSampleTest.java34 …ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(MTest1.class, ITestAnnotation.cl… in verifyTestClassLevel()
51 …ITestAnnotation test2 = (ITestAnnotation) m_finder.findAnnotation(MTest2.class, ITestAnnotation.cl… in verifyTestClassLevel()
67 … ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(method, ITestAnnotation.class); in verifyTestMethodLevel()
90 …ITestAnnotation test1 = (ITestAnnotation) m_finder.findAnnotation(constructor, ITestAnnotation.cla… in verifyTestConstructorLevel()
112 (IConfigurationAnnotation) m_finder.findAnnotation(method, IConfigurationAnnotation.class); in verifyConfigurationBefore()
137 (IConfigurationAnnotation) m_finder.findAnnotation(method, IConfigurationAnnotation.class); in verifyConfigurationAfter()
162 (IConfigurationAnnotation) m_finder.findAnnotation(method, IConfigurationAnnotation.class); in verifyConfigurationOthers()
187 (IDataProviderAnnotation) m_finder.findAnnotation(method, IDataProviderAnnotation.class); in verifyDataProvider()
196 …(IExpectedExceptionsAnnotation) m_finder.findAnnotation(method, IExpectedExceptionsAnnotation.clas… in verifyExpectedExceptions()
206 (IFactoryAnnotation) m_finder.findAnnotation(method, IFactoryAnnotation.class); in verifyFactory()
[all …]
/external/testng/src/main/java/org/testng/internal/
DTestNGClassFinder.java70 IAnnotation a = annotationFinder.findAnnotation(m, in TestNGClassFinder()
233 IAnnotation ma= annotationFinder.findAnnotation(m, annotation); in isTestNGClass()
240 IAnnotation a= annotationFinder.findAnnotation(cls, annotation); in isTestNGClass()
247 IAnnotation ca= annotationFinder.findAnnotation(ctor, annotation); in isTestNGClass()
DRegexpExpectedExceptionsHolder.java51 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class); in getRegExp()
58 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class); in getRegExp()
DExpectedExceptionsHolder.java28 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class); in findExpectedClasses()
35 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class); in findExpectedClasses()
DClassHelper.java141 IFactoryAnnotation f = finder.findAnnotation(method, IFactoryAnnotation.class); in findDeclaredFactoryMethod()
152 IAnnotation f = finder.findAnnotation(constructor, IFactoryAnnotation.class); in findDeclaredFactoryMethod()
317 …IParametersAnnotation annotation = finder.findAnnotation(constructor, IParametersAnnotation.class); in createInstance1()
435 IParametersAnnotation annotation = finder.findAnnotation(result, IParametersAnnotation.class); in findAnnotatedConstructor()
DBaseTestMethod.java438 …ITestOrConfiguration annotation = getAnnotationFinder().findAnnotation(getMethod(), annotationClas… in initGroups()
439 …ITestOrConfiguration classAnnotation = getAnnotationFinder().findAnnotation(getMethod().getDeclari… in initGroups()
449 …ITestOrConfiguration annotation = getAnnotationFinder().findAnnotation(getMethod(), annotationClas… in initGroups()
450 …ITestOrConfiguration classAnnotation = getAnnotationFinder().findAnnotation(getMethod().getDeclari… in initGroups()
DConfigurationMethod.java386 …ITestAnnotation classAnnotation = m_annotationFinder.findAnnotation(m_methodClass, ITestAnnotation… in init()
445 IAnnotation before = m_annotationFinder.findAnnotation(getMethod(), IBeforeMethod.class); in isFirstTimeOnly()
454 IAnnotation before = m_annotationFinder.findAnnotation(getMethod(), IAfterMethod.class); in isLastTimeOnly()
DParameters.java324 IDataProviderAnnotation dp = finder.findAnnotation(m, IDataProviderAnnotation.class); in findDataProvider()
357 IParametersAnnotation annotation = finder.findAnnotation(m, IParametersAnnotation.class); in createParameters()
369 IParameterizable a = (IParameterizable) finder.findAnnotation(m, annotationClass); in createParameters()
DClassImpl.java67 ITestAnnotation annotation = m_annotationFinder.findAnnotation(cls, ITestAnnotation.class); in ClassImpl()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliClassStatement.java130 public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliClassStatement
135 return containingClass.findAnnotation(qualifiedName); in findAnnotation()
DSmaliModifierList.java150 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliModifierList
151 return getParentForAnnotations().findAnnotation(qualifiedName); in findAnnotation()
DSmaliMethodParameter.java207 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliMethodParameter
212 return parameterStatement.findAnnotation(qualifiedName); in findAnnotation()
DSmaliTypeElement.java66 @Nullable @Override public PsiAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliTypeElement
DSmaliParameterStatement.java70 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliParameterStatement
DLightSmaliClassTypeElement.java123 @Nullable @Override public PsiAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in LightSmaliClassTypeElement
DSmaliField.java149 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliField
DSmaliMethod.java281 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliMethod
DSmaliClass.java378 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliClass
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliAnnotationTest.java189 PsiAnnotation smaliAnnotation = annotationOwner.findAnnotation("my.TestAnnotation"); in doTest()
231 smaliAnnotation = annotationOwner.findAnnotation("my.TestAnnotation2"); in doTest()
DSmaliClassModifierListTest.java188 SmaliAnnotation smaliAnnotation = modifierList.findAnnotation("my.pkg.anno2"); in testFindAnnotation()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/iface/
DSmaliModifierListOwner.java45 @Nullable @Override SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName); in findAnnotation() method

12