/external/testng/src/main/java/org/testng/internal/annotations/ |
D | AnnotationHelper.java | 32 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 …]
|
D | IAnnotationFinder.java | 24 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
|
D | JDK15AnnotationFinder.java | 104 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/ |
D | MAnnotation2SampleTest.java | 28 … 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()
|
D | MAnnotationSampleTest.java | 34 …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/ |
D | TestNGClassFinder.java | 70 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()
|
D | RegexpExpectedExceptionsHolder.java | 51 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class); in getRegExp() 58 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class); in getRegExp()
|
D | ExpectedExceptionsHolder.java | 28 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class); in findExpectedClasses() 35 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class); in findExpectedClasses()
|
D | ClassHelper.java | 141 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()
|
D | BaseTestMethod.java | 438 …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()
|
D | ConfigurationMethod.java | 386 …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()
|
D | Parameters.java | 324 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()
|
D | ClassImpl.java | 67 ITestAnnotation annotation = m_annotationFinder.findAnnotation(cls, ITestAnnotation.class); in ClassImpl()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
D | SmaliClassStatement.java | 130 public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliClassStatement 135 return containingClass.findAnnotation(qualifiedName); in findAnnotation()
|
D | SmaliModifierList.java | 150 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliModifierList 151 return getParentForAnnotations().findAnnotation(qualifiedName); in findAnnotation()
|
D | SmaliMethodParameter.java | 207 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliMethodParameter 212 return parameterStatement.findAnnotation(qualifiedName); in findAnnotation()
|
D | SmaliTypeElement.java | 66 @Nullable @Override public PsiAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliTypeElement
|
D | SmaliParameterStatement.java | 70 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliParameterStatement
|
D | LightSmaliClassTypeElement.java | 123 @Nullable @Override public PsiAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in LightSmaliClassTypeElement
|
D | SmaliField.java | 149 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliField
|
D | SmaliMethod.java | 281 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliMethod
|
D | SmaliClass.java | 378 … @Nullable @Override public SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName) { in findAnnotation() method in SmaliClass
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliAnnotationTest.java | 189 PsiAnnotation smaliAnnotation = annotationOwner.findAnnotation("my.TestAnnotation"); in doTest() 231 smaliAnnotation = annotationOwner.findAnnotation("my.TestAnnotation2"); in doTest()
|
D | SmaliClassModifierListTest.java | 188 SmaliAnnotation smaliAnnotation = modifierList.findAnnotation("my.pkg.anno2"); in testFindAnnotation()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/iface/ |
D | SmaliModifierListOwner.java | 45 @Nullable @Override SmaliAnnotation findAnnotation(@NotNull @NonNls String qualifiedName); in findAnnotation() method
|