HomeSort by relevance Sort by last modified time
    Searched refs:getAnnotation (Results 1 - 25 of 217) sorted by null

1 2 3 4 5 6 7 8 9

  /external/junit-params/src/main/java/junitparams/internal/annotation/
FrameworkMethodAnnotations.java 27 public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
28 return frameworkMethod.getAnnotation(annotationType);
32 return getAnnotation(annotation) != null;
40 CustomParameters customParameters = frameworkMethod.getAnnotation(CustomParameters.class);
46 customParameters = annotation.annotationType().getAnnotation(CustomParameters.class);
  /external/junit/src/main/java/org/junit/runners/model/
Annotatable.java 19 <T extends Annotation> T getAnnotation(Class<T> annotationType);
FrameworkField.java 34 public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
35 return field.getAnnotation(annotationType);
  /external/caliper/caliper/src/main/java/com/google/caliper/json/
AnnotationExclusionStrategy.java 28 return f.getAnnotation(ExcludeFromJson.class) != null;
32 return clazz.getAnnotation(ExcludeFromJson.class) != null;
  /cts/tests/core/runner/src/com/android/cts/core/runner/support/
TestNgRunnerBuilder.java 43 if (cls.getAnnotation(Test.class) != null) {
49 if (m.getAnnotation(Test.class) != null) {
  /cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
TestNgRunnerBuilder.java 43 if (cls.getAnnotation(Test.class) != null) {
49 if (m.getAnnotation(Test.class) != null) {
  /external/junit/src/main/java/org/junit/experimental/theories/internal/
SpecificDataPointsSupplier.java 25 String requestedName = sig.getAnnotation(FromDataPoints.class).value();
30 String[] fieldNames = field.getAnnotation(DataPoint.class).value();
42 String requestedName = sig.getAnnotation(FromDataPoints.class).value();
47 String[] fieldNames = field.getAnnotation(DataPoints.class).value();
59 String requestedName = sig.getAnnotation(FromDataPoints.class).value();
64 String[] methodNames = method.getAnnotation(DataPoint.class).value();
76 String requestedName = sig.getAnnotation(FromDataPoints.class).value();
81 String[] methodNames = method.getAnnotation(DataPoints.class).value();
  /external/guice/core/src/com/google/inject/spi/
ProvidesMethodBinding.java 48 Annotation getAnnotation();
  /external/junit/src/main/java/org/junit/internal/builders/
IgnoredBuilder.java 10 if (testClass.getAnnotation(Ignore.class) != null) {
  /external/wycheproof/java/com/google/security/wycheproof/
WycheproofRunner.java 143 this.targetProvider = runnerClass.getAnnotation(Provider.class);
144 this.fast = runnerClass.getAnnotation(Fast.class);
145 this.presubmit = runnerClass.getAnnotation(Presubmit.class);
164 ExcludedTest excludedTest = description.getAnnotation(ExcludedTest.class);
172 NoPresubmitTest ignoreOn = description.getAnnotation(NoPresubmitTest.class);
181 SlowTest ignoreOn = description.getAnnotation(SlowTest.class);
  /external/mockito/src/test/java/org/mockito/
AnnotationsAreCopiedFromMockedTypeTest.java 26 AnnotationWithDefaultValue onClassDefaultValue = mock(OnClass.class).getClass().getAnnotation(AnnotationWithDefaultValue.class);
27 AnnotationWithCustomValue onClassCustomValue = mock(OnClass.class).getClass().getAnnotation(AnnotationWithCustomValue.class);
37 AnnotationWithDefaultValue onClassDefaultValue = method("method", mock(OnMethod.class)).getAnnotation(AnnotationWithDefaultValue.class);
38 AnnotationWithCustomValue onClassCustomValue = method("method", mock(OnMethod.class)).getAnnotation(AnnotationWithCustomValue.class);
46 AnnotationWithDefaultValue onClassDefaultValue = firstParamOf(method("method", mock(OnMethod.class))).getAnnotation(AnnotationWithDefaultValue.class);
47 AnnotationWithCustomValue onClassCustomValue = firstParamOf(method("method", mock(OnMethod.class))).getAnnotation(AnnotationWithCustomValue.class);
59 return getAnnotation(annotationClass) != null;
64 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) {
  /external/testng/src/test/java/test/verify/
VerifyMethodInterceptor.java 21 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/
DynamicFinder.java 32 this.finder = method.getAnnotation(Finder.class);
  /external/junit-params/src/main/java/junitparams/internal/parameters/
ParametersFromValue.java 11 parametersAnnotation = frameworkMethod.getAnnotation(Parameters.class);
ParametersFromExternalClassMethod.java 12 annotation = frameworkMethod.getAnnotation(Parameters.class);
ParametersFromTestClassMethod.java 15 annotation = frameworkMethod.getAnnotation(Parameters.class);
  /external/junit/src/main/java/org/junit/internal/runners/
TestMethod.java 30 return method.getAnnotation(Ignore.class) != null;
34 Test annotation = method.getAnnotation(Test.class);
43 Test annotation = method.getAnnotation(Test.class);
  /external/guava/guava-testlib/test/com/google/common/collect/testing/features/
FeatureEnumTest.java 40 annotationClass.getAnnotation(TesterAnnotation.class));
42 annotationClass.getAnnotation(Retention.class);
51 annotationClass.getAnnotation(Inherited.class));
  /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
NodeWithAnnotationsBuildersTest.java 48 assertEquals(annotation, testClass.getAnnotation(0));
49 assertEquals(NormalAnnotationExpr.class, testClass.getAnnotation(0).getClass());
62 assertEquals("value", testClass.getAnnotation(0).asSingleMemberAnnotationExpr().getMemberValue().toString());
  /external/junit/src/main/java/org/junit/experimental/theories/suppliers/
TestedOnSupplier.java 18 TestedOn testedOn = sig.getAnnotation(TestedOn.class);
  /external/vogar/test/vogar/android/
VogarArgsRule.java 36 VogarArgs vogarArgs = description.getAnnotation(VogarArgs.class);
  /external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
AnnotationElementValueGen.java 78 a.getAnnotation(),
82 public AnnotationEntryGen getAnnotation()
  /external/jcommander/src/main/java/com/beust/jcommander/
Parameterized.java 44 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;
  /art/test/005-annotations/src/android/test/anno/
TestAnnotations.java 84 aff = (AnnoFancyField) f.getAnnotation(AnnoFancyField.class);
147 property = meth.getAnnotation(ExportedProperty.class);
172 Annotation anno = SimplyNoted.class.getAnnotation(AnnoSimpleTypeInvis.class);
202 Annotation anno = SimplyNoted.class.getAnnotation(AnnoSimpleType.class);
205 anno = SimplyNoted.class.getAnnotation(AnnoSimpleTypeInvis.class);
208 anno = SubNoted.class.getAnnotation(AnnoSimpleType.class);
231 ClassWithMissingAnnotation.class.getAnnotation(AnnoMissingClass.class);
  /external/junit/src/main/java/org/junit/experimental/theories/
Theories.java 87 if (field.getAnnotation(DataPoint.class) == null && field.getAnnotation(DataPoints.class) == null) {
103 if (method.getAnnotation(DataPoint.class) == null && method.getAnnotation(DataPoints.class) == null) {
123 if (each.getAnnotation(Theory.class) != null) {
191 boolean hasTheoryAnnotation = testMethod.getAnnotation(Theory.class) != null;
293 Theory annotation = testMethod.getMethod().getAnnotation(

Completed in 1721 milliseconds

1 2 3 4 5 6 7 8 9