Searched refs:getAnnotation (Results 1 - 25 of 66) sorted by relevance

123

/external/junit/src/org/junit/internal/builders/
H A DIgnoredBuilder.java13 if (testClass.getAnnotation(Ignore.class) != null)
H A DAnnotatedBuilder.java22 RunWith annotation= testClass.getAnnotation(RunWith.class);
/external/junit/src/org/junit/internal/runners/
H A DTestMethod.java30 return fMethod.getAnnotation(Ignore.class) != null;
34 Test annotation= fMethod.getAnnotation(Test.class);
42 Test annotation= fMethod.getAnnotation(Test.class);
H A DTestClass.java46 Annotation annotation= eachMethod.getAnnotation(annotationClass);
/external/mockito/src/org/mockito/internal/configuration/injection/scanner/
H A DMockScanner.java80 return null != field.getAnnotation(Spy.class)
81 || null != field.getAnnotation(Mock.class)
82 || null != field.getAnnotation(MockitoAnnotations.Mock.class);
H A DInjectMocksScanner.java52 if (null != field.getAnnotation(InjectMocks.class)) {
/external/guava/guava/src/com/google/common/eventbus/
H A DAnnotatedHandlerFinder.java44 Subscribe annotation = method.getAnnotation(Subscribe.class);
95 return method.getAnnotation(AllowConcurrentEvents.class) != null;
/external/droiddriver/src/com/google/android/droiddriver/runner/
H A DTestRunner.java116 MinSdkVersion minSdkVersion = getAnnotation(arg0, MinSdkVersion.class);
123 UseUiAutomation useUiAutomation = getAnnotation(arg0, UseUiAutomation.class);
133 private <T extends Annotation> T getAnnotation(TestMethod testMethod, Class<T> clazz) {
134 T annotation = testMethod.getAnnotation(clazz);
136 annotation = testMethod.getEnclosingClass().getAnnotation(clazz);
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstAnnotation.java93 public Annotation getAnnotation() { method in class:CstAnnotation
/external/junit/src/org/junit/experimental/categories/
H A DCategories.java140 Category annotation= description.getAnnotation(Category.class);
160 IncludeCategory annotation= klass.getAnnotation(IncludeCategory.class);
165 ExcludeCategory annotation= klass.getAnnotation(ExcludeCategory.class);
178 if (each.getAnnotation(Category.class) != null)
/external/junit/src/org/junit/experimental/theories/suppliers/
H A DTestedOnSupplier.java16 TestedOn testedOn = sig.getAnnotation(TestedOn.class);
/external/junit/src/org/junit/experimental/theories/
H A DParameterSignature.java60 return getAnnotation(type) != null;
84 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { method in class:ParameterSignature
H A DTheories.java38 if (each.getAnnotation(DataPoint.class) != null && !Modifier.isStatic(each.getModifiers()))
50 if(each.getAnnotation(Theory.class) != null)
188 Theory annotation= fTestMethod.getMethod().getAnnotation(
/external/junit/src/org/junit/runners/model/
H A DFrameworkMethod.java153 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { method in class:FrameworkMethod
154 return fMethod.getAnnotation(annotationType);
/external/mockito/src/org/mockito/internal/util/reflection/
H A DInstanceField.java81 return field.getAnnotation(annotationClass);
/external/javassist/src/main/javassist/
H A DCtMember.java33 public Object getAnnotation(Class clz) method in class:CtMember.Cache
227 public abstract Object getAnnotation(Class clz) throws ClassNotFoundException; method in class:CtMember
/external/junit/src/org/junit/experimental/theories/internal/
H A DAllMembersSupplier.java100 && field.getAnnotation(DataPoints.class) != null) {
103 && field.getAnnotation(DataPoint.class) != null) {
/external/junit/src/junit/framework/
H A DJUnit4TestAdapter.java70 return description.getAnnotation(Ignore.class) != null;
/external/junit/src/org/junit/runners/
H A DBlockJUnit4ClassRunner.java65 if (method.getAnnotation(Ignore.class) != null) {
274 Test annotation= method.getAnnotation(Test.class);
289 long timeout= getTimeout(method.getAnnotation(Test.class));
H A DSuite.java51 SuiteClasses annotation= klass.getAnnotation(SuiteClasses.class);
/external/junit/src/org/junit/runner/
H A DDescription.java184 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { method in class:Description
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
H A DObjectDescriptorFactory.java143 final Descriptor descriptor = clazz.getAnnotation(Descriptor.class);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DDirectIvarAssignment.cpp171 if (Ann->getAnnotation() ==
241 if (Ann->getAnnotation() == "objc_no_direct_instance_variable_assignment")
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
H A DRobolectricInternals.java43 Implements realClass = shadowClass.getAnnotation(Implements.class);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
H A DRobolectricWiringTest.java34 Implements annotation = shadowClass.getAnnotation(Implements.class);

Completed in 6712 milliseconds

123