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

1234567

/external/caliper/caliper/src/main/java/com/google/caliper/json/
H A DAnnotationExclusionStrategy.java28 return f.getAnnotation(ExcludeFromJson.class) != null;
32 return clazz.getAnnotation(ExcludeFromJson.class) != null;
/external/guice/core/src/com/google/inject/spi/
H A DProvidesMethodBinding.java49 Annotation getAnnotation(); method in interface:ProvidesMethodBinding
/external/junit/src/org/junit/internal/builders/
H A DIgnoredBuilder.java13 if (testClass.getAnnotation(Ignore.class) != null)
/external/testng/src/test/java/test/verify/
H A DVerifyMethodInterceptor.java21 if (m.getMethod().getMethod().getAnnotation(Verifier.class) != null) {
34 if (m.getMethod().getMethod().getAnnotation(Verify.class) != null) {
/external/guice/extensions/persist/src/com/google/inject/persist/finder/
H A DDynamicFinder.java32 this.finder = method.getAnnotation(Finder.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);
/external/guava/guava-testlib/test/com/google/common/collect/testing/features/
H A DFeatureEnumTest.java40 annotationClass.getAnnotation(TesterAnnotation.class));
42 annotationClass.getAnnotation(Retention.class);
51 annotationClass.getAnnotation(Inherited.class));
/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);
/external/vogar/test/vogar/android/
H A DVogarArgsRule.java37 VogarArgs vogarArgs = method.getAnnotation(VogarArgs.class);
/external/jcommander/src/main/java/com/beust/jcommander/
H A DParameterized.java44 Annotation annotation = f.getAnnotation(Parameter.class);
45 Annotation delegateAnnotation = f.getAnnotation(ParametersDelegate.class);
46 Annotation dynamicParameter = f.getAnnotation(DynamicParameter.class);
65 Annotation annotation = m.getAnnotation(Parameter.class);
66 Annotation delegateAnnotation = m.getAnnotation(ParametersDelegate.class);
67 Annotation dynamicParameter = m.getAnnotation(DynamicParameter.class);
178 return m_method.getAnnotation(DynamicParameter.class) != null;
180 return m_field.getAnnotation(DynamicParameter.class) != null;
/external/droiddriver/src/io/appium/droiddriver/runner/
H A DTestRunner.java146 MinSdkVersion minSdkVersion = getAnnotation(arg0, MinSdkVersion.class);
153 UseUiAutomation useUiAutomation = getAnnotation(arg0, UseUiAutomation.class);
163 private <T extends Annotation> T getAnnotation(TestMethod testMethod, Class<T> clazz) {
164 T annotation = testMethod.getAnnotation(clazz);
166 annotation = testMethod.getEnclosingClass().getAnnotation(clazz);
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/
H A DJpaLocalTxnInterceptor.java110 transactional = method.getAnnotation(Transactional.class);
113 transactional = targetClass.getAnnotation(Transactional.class);
117 transactional = Internal.class.getAnnotation(Transactional.class);
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstAnnotation.java93 public Annotation getAnnotation() { method in class:CstAnnotation
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
H A DRealElementTest.java32 this.systemElement = Holder.class.getAnnotation(Element.class);
/external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/rules/
H A DULocaleDefaultRule.java36 final ULocaleDefault annotation = method.getAnnotation(ULocaleDefault.class);
/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/testng/src/test/java/test/methodinterceptors/
H A DFastTestsFirstInterceptor.java20 Test test = m.getMethod().getMethod().getAnnotation(Test.class);
/external/testng/src/test/java/test/tmp/
H A DTimeBombTest.java14 IgnoreUntil t = m.getAnnotation(IgnoreUntil.class);
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
H A DRealElement.java94 Annotation annotation = key.getAnnotation();
97 return key.getAnnotation().toString();
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
H A DFacadeManager.java64 String replacedBy = method.getAnnotation(RpcDeprecated.class).value();
68 int requiredSdkLevel = method.getAnnotation(RpcMinSdk.class).value();
/external/guice/core/src/com/google/inject/
H A DKey.java182 public final Annotation getAnnotation() { method in class:Key
183 return annotationStrategy.getAnnotation();
191 Annotation annotation = annotationStrategy.getAnnotation();
356 Annotation getAnnotation(); method in interface:Key.AnnotationStrategy
418 public Annotation getAnnotation() { method in class:Key.NullAnnotationStrategy
448 public Annotation getAnnotation() { method in class:Key.AnnotationInstanceStrategy
495 public Annotation getAnnotation() { method in class:Key.AnnotationTypeStrategy
/external/testng/src/main/java/org/testng/internal/annotations/
H A DJDK15AnnotationFinder.java87 return cls.getAnnotation(a);
91 A result = cls.getAnnotation(a);
110 Annotation annotation = m.getAnnotation(a);
129 Annotation annotation = m.getAnnotation(a);
131 annotation = testClass.getAnnotation(a);
203 Annotation annotation = cons.getAnnotation(a);
/external/guava/guava/src/com/google/common/reflect/
H A DElement.java56 @Override public final <A extends Annotation> A getAnnotation(Class<A> annotationClass) { method in class:Element
57 return accessibleObject.getAnnotation(annotationClass);
H A DParameter.java66 return getAnnotation(annotationType) != null;
71 public <A extends Annotation> A getAnnotation(Class<A> annotationType) { method in class:Parameter

Completed in 1043 milliseconds

1234567