Home
last modified time | relevance | path

Searched refs:getAnnotation (Results 1 – 25 of 60) sorted by relevance

123

/external/droiddriver/src/io/appium/droiddriver/runner/
DTestRunner.java146 MinSdkVersion minSdkVersion = getAnnotation(arg0, MinSdkVersion.class); in getBuilderRequirements()
153 UseUiAutomation useUiAutomation = getAnnotation(arg0, UseUiAutomation.class); in getBuilderRequirements()
163 private <T extends Annotation> T getAnnotation(TestMethod testMethod, Class<T> clazz) { in getBuilderRequirements()
164 T annotation = testMethod.getAnnotation(clazz); in getBuilderRequirements()
166 annotation = testMethod.getEnclosingClass().getAnnotation(clazz); in getBuilderRequirements()
/external/junit/src/org/junit/internal/runners/
DTestMethod.java30 return fMethod.getAnnotation(Ignore.class) != null; in isIgnored()
34 Test annotation= fMethod.getAnnotation(Test.class); in getTimeout()
42 Test annotation= fMethod.getAnnotation(Test.class); in getExpectedException()
/external/mockito/src/org/mockito/internal/configuration/injection/scanner/
DMockScanner.java80 return null != field.getAnnotation(Spy.class) in isAnnotatedByMockOrSpy()
81 || null != field.getAnnotation(Mock.class) in isAnnotatedByMockOrSpy()
82 || null != field.getAnnotation(MockitoAnnotations.Mock.class); in isAnnotatedByMockOrSpy()
DInjectMocksScanner.java52 if (null != field.getAnnotation(InjectMocks.class)) { in scan()
/external/junit/src/org/junit/experimental/categories/
DCategories.java140 Category annotation= description.getAnnotation(Category.class); in directCategories()
160 IncludeCategory annotation= klass.getAnnotation(IncludeCategory.class); in getIncludedCategory()
165 ExcludeCategory annotation= klass.getAnnotation(ExcludeCategory.class); in getExcludedCategory()
178 if (each.getAnnotation(Category.class) != null) in assertNoDescendantsHaveCategoryAnnotations()
/external/guava/guava-testlib/test/com/google/common/collect/testing/features/
DFeatureEnumTest.java40 annotationClass.getAnnotation(TesterAnnotation.class)); in assertGoodTesterAnnotation()
42 annotationClass.getAnnotation(Retention.class); in assertGoodTesterAnnotation()
51 annotationClass.getAnnotation(Inherited.class)); in assertGoodTesterAnnotation()
/external/guava/guava/src/com/google/common/reflect/
DParameter.java65 return getAnnotation(annotationType) != null; in isAnnotationPresent()
70 public <A extends Annotation> A getAnnotation(Class<A> annotationType) { in getAnnotation() method in Parameter
DElement.java56 @Override public final <A extends Annotation> A getAnnotation(Class<A> annotationClass) { in getAnnotation() method in Element
57 return accessibleObject.getAnnotation(annotationClass); in getAnnotation()
/external/junit/src/org/junit/experimental/theories/
DTheories.java38 if (each.getAnnotation(DataPoint.class) != null && !Modifier.isStatic(each.getModifiers())) in validateDataPointFields()
50 if(each.getAnnotation(Theory.class) != null) in validateTestMethods()
188 Theory annotation= fTestMethod.getMethod().getAnnotation(
DParameterSignature.java60 return getAnnotation(type) != null; in hasAnnotation()
84 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation() method in ParameterSignature
/external/junit/src/org/junit/runners/model/
DFrameworkMethod.java153 public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
154 return fMethod.getAnnotation(annotationType);
/external/smali/examples/AnnotationTypes/
DMain.smali39 …invoke-virtual {v1, v2}, Ljava/lang/Class;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/…
68 …invoke-virtual {v1, v2}, Ljava/lang/reflect/Method;->getAnnotation(Ljava/lang/Class;)Ljava/lang/an…
95 …invoke-virtual {v1, v2}, Ljava/lang/reflect/Field;->getAnnotation(Ljava/lang/Class;)Ljava/lang/ann…
/external/junit/src/org/junit/experimental/theories/internal/
DAllMembersSupplier.java100 && field.getAnnotation(DataPoints.class) != null) { in addFields()
103 && field.getAnnotation(DataPoint.class) != null) { in addFields()
/external/javassist/src/main/javassist/
DCtMember.java33 public Object getAnnotation(Class clz) in getAnnotation() method in CtMember.Cache
227 public abstract Object getAnnotation(Class clz) throws ClassNotFoundException; in getAnnotation() method in CtMember
/external/junit/src/org/junit/runners/
DBlockJUnit4ClassRunner.java65 if (method.getAnnotation(Ignore.class) != null) { in runChild()
274 Test annotation= method.getAnnotation(Test.class); in possiblyExpectingExceptions()
289 long timeout= getTimeout(method.getAnnotation(Test.class)); in withPotentialTimeout()
DSuite.java51 SuiteClasses annotation= klass.getAnnotation(SuiteClasses.class); in getAnnotatedClasses()
/external/clang/lib/StaticAnalyzer/Checkers/
DDirectIvarAssignment.cpp159 if (Ann->getAnnotation() == in isAnnotatedToAllowDirectAssignment()
220 if (Ann->getAnnotation() == "objc_no_direct_instance_variable_assignment") in AttrFilter()
/external/junit/src/org/junit/internal/builders/
DIgnoredBuilder.java13 if (testClass.getAnnotation(Ignore.class) != null) in runnerForClass()
DAnnotatedBuilder.java22 RunWith annotation= testClass.getAnnotation(RunWith.class); in runnerForClass()
/external/junit/src/org/junit/experimental/theories/suppliers/
DTestedOnSupplier.java16 TestedOn testedOn = sig.getAnnotation(TestedOn.class); in getValueSources()
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
DCstAnnotation.java93 public Annotation getAnnotation() { in getAnnotation() method in CstAnnotation
/external/smali/examples/AnnotationValues/
DMain.smali16 …invoke-virtual {v1, v2}, Ljava/lang/Class;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/…
/external/mockito/src/org/mockito/internal/util/reflection/
DInstanceField.java81 return field.getAnnotation(annotationClass); in annotation()
/external/smali/examples/RecursiveAnnotation/
DMain.smali15 …invoke-virtual {v1, v2}, Ljava/lang/Class;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/…
/external/junit/src/junit/framework/
DJUnit4TestAdapter.java70 return description.getAnnotation(Ignore.class) != null; in isIgnored()

123