/external/junit/src/main/java/org/junit/experimental/theories/internal/ |
D | SpecificDataPointsSupplier.java | 25 String requestedName = sig.getAnnotation(FromDataPoints.class).value(); in getSingleDataPointFields() 30 String[] fieldNames = field.getAnnotation(DataPoint.class).value(); in getSingleDataPointFields() 42 String requestedName = sig.getAnnotation(FromDataPoints.class).value(); in getDataPointsFields() 47 String[] fieldNames = field.getAnnotation(DataPoints.class).value(); in getDataPointsFields() 59 String requestedName = sig.getAnnotation(FromDataPoints.class).value(); in getSingleDataPointMethods() 64 String[] methodNames = method.getAnnotation(DataPoint.class).value(); in getSingleDataPointMethods() 76 String requestedName = sig.getAnnotation(FromDataPoints.class).value(); in getDataPointsMethods() 81 String[] methodNames = method.getAnnotation(DataPoints.class).value(); in getDataPointsMethods()
|
/external/mockito/src/test/java/org/mockito/ |
D | AnnotationsAreCopiedFromMockedTypeTest.java | 26 …WithDefaultValue onClassDefaultValue = mock(OnClass.class).getClass().getAnnotation(AnnotationWith… in mock_should_have_annotations_copied_from_mocked_type_at_class_level() 27 …AnnotationWithCustomValue onClassCustomValue = mock(OnClass.class).getClass().getAnnotation(Annota… in mock_should_have_annotations_copied_from_mocked_type_at_class_level() 37 …ultValue onClassDefaultValue = method("method", mock(OnMethod.class)).getAnnotation(AnnotationWith… in mock_should_have_annotations_copied_from_mocked_type_on_methods() 38 …stomValue onClassCustomValue = method("method", mock(OnMethod.class)).getAnnotation(AnnotationWith… in mock_should_have_annotations_copied_from_mocked_type_on_methods() 46 …ssDefaultValue = firstParamOf(method("method", mock(OnMethod.class))).getAnnotation(AnnotationWith… in mock_should_have_annotations_copied_from_mocked_type_on_method_parameters() 47 …assCustomValue = firstParamOf(method("method", mock(OnMethod.class))).getAnnotation(AnnotationWith… in mock_should_have_annotations_copied_from_mocked_type_on_method_parameters() 59 return getAnnotation(annotationClass) != null; in firstParamOf() 64 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in firstParamOf() method in AnnotationsAreCopiedFromMockedTypeTest
|
/external/junit-params/src/main/java/junitparams/internal/annotation/ |
D | FrameworkMethodAnnotations.java | 27 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation() method in FrameworkMethodAnnotations 28 return frameworkMethod.getAnnotation(annotationType); in getAnnotation() 32 return getAnnotation(annotation) != null; in hasAnnotation() 40 CustomParameters customParameters = frameworkMethod.getAnnotation(CustomParameters.class); in getCustomParameters() 46 customParameters = annotation.annotationType().getAnnotation(CustomParameters.class); in getCustomParameters()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | AnnotationsResolutionTest.java | 57 MarkerAnnotationExpr annotationExpr = (MarkerAnnotationExpr) clazz.getAnnotation(0); in solveJavaParserMarkerAnnotation() 73 … SingleMemberAnnotationExpr annotationExpr = (SingleMemberAnnotationExpr) clazz.getAnnotation(0); in solveJavaParserSingleMemberAnnotation() 89 NormalAnnotationExpr annotationExpr = (NormalAnnotationExpr) clazz.getAnnotation(0); in solveJavaParserNormalAnnotation() 106 MarkerAnnotationExpr annotationExpr = (MarkerAnnotationExpr) method.getAnnotation(0); in solveReflectionMarkerAnnotation() 126 .asVariableDeclarationExpr().getAnnotation(0); in solveReflectionSingleMemberAnnotation() 143 MarkerAnnotationExpr annotationExpr = (MarkerAnnotationExpr) method.getAnnotation(0); in solveJavassistMarkerAnnotation() 160 … SingleMemberAnnotationExpr annotationExpr = (SingleMemberAnnotationExpr) method.getAnnotation(0); in solveJavassistSingleMemberAnnotation() 177 NormalAnnotationExpr annotationExpr = (NormalAnnotationExpr) method.getAnnotation(0); in solveJavassistNormalAnnotation() 193 AnnotationExpr annotationExpr = clazz.getAnnotation(0); in solveJavaParserMetaAnnotations() 211 MarkerAnnotationExpr annotationExpr = (MarkerAnnotationExpr) method.getAnnotation(0); in solveReflectionMetaAnnotations() [all …]
|
/external/wycheproof/java/com/google/security/wycheproof/ |
D | WycheproofRunner.java | 143 this.targetProvider = runnerClass.getAnnotation(Provider.class); in ExcludeTestFilter() 144 this.fast = runnerClass.getAnnotation(Fast.class); in ExcludeTestFilter() 145 this.presubmit = runnerClass.getAnnotation(Presubmit.class); in ExcludeTestFilter() 164 ExcludedTest excludedTest = description.getAnnotation(ExcludedTest.class); in isOkayToRunTest() 172 NoPresubmitTest ignoreOn = description.getAnnotation(NoPresubmitTest.class); in isOkayToRunTest() 181 SlowTest ignoreOn = description.getAnnotation(SlowTest.class); in isOkayToRunTest()
|
/external/jackson-annotations/src/test/java/com/fasterxml/jackson/annotation/ |
D | JsonIncludePropertiesTest.java | 32 …JsonIncludeProperties.Value v = JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonInc… in testFromAnnotation() 38 …assertEquals(v, JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonIncludeProperties.c… in testFromAnnotation() 42 …JsonIncludeProperties.Value v = JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonInc… in testWithOverridesAll() 50 …JsonIncludeProperties.Value v = JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonInc… in testWithOverridesEmpty() 57 …JsonIncludeProperties.Value v = JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonInc… in testWithOverridesMerge()
|
/external/jcommander/src/main/java/com/beust/jcommander/ |
D | Parameterized.java | 107 Annotation annotation = f.getAnnotation(Parameter.class); in parseArg() 108 Annotation delegateAnnotation = f.getAnnotation(ParametersDelegate.class); in parseArg() 109 Annotation dynamicParameter = f.getAnnotation(DynamicParameter.class); in parseArg() 125 Annotation annotation = m.getAnnotation(Parameter.class); in parseArg() 126 Annotation delegateAnnotation = m.getAnnotation(ParametersDelegate.class); in parseArg() 127 Annotation dynamicParameter = m.getAnnotation(DynamicParameter.class); in parseArg() 228 return method.getAnnotation(DynamicParameter.class) != null; in isDynamicParameter() 230 return this.field.getAnnotation(DynamicParameter.class) != null; in isDynamicParameter()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/ |
D | NodeWithAnnotationsBuildersTest.java | 47 assertEquals(annotation, testClass.getAnnotation(0)); in testAddAnnotation() 48 assertEquals(NormalAnnotationExpr.class, testClass.getAnnotation(0).getClass()); in testAddAnnotation() 61 …assertEquals("value", testClass.getAnnotation(0).asSingleMemberAnnotationExpr().getMemberValue().t… in testAddSingleMemberAnnotation() 68 …assertEquals("value", testClass.getAnnotation(0).asSingleMemberAnnotationExpr().getMemberValue().t… in testAddSingleMemberAnnotation2()
|
/external/junit/src/main/java/org/junit/experimental/theories/ |
D | Theories.java | 92 …if (field.getAnnotation(DataPoint.class) == null && field.getAnnotation(DataPoints.class) == null)… in validateDataPointFields() 108 …if (method.getAnnotation(DataPoint.class) == null && method.getAnnotation(DataPoints.class) == nul… in validateDataPointMethods() 128 if (each.getAnnotation(Theory.class) != null) { in validateTestMethods() 196 boolean hasTheoryAnnotation = testMethod.getAnnotation(Theory.class) != null; in evaluate() 298 Theory annotation = testMethod.getMethod().getAnnotation(
|
/external/turbine/javatests/com/google/turbine/processing/ |
D | TurbineAnnotationProxyTest.java | 158 A a = te.getAnnotation(A.class); in test() 159 B b = te.getAnnotation(B.class); in test() 160 assertThat(te.getAnnotation(C.class)).isNull(); in test() 184 RS container = te.getAnnotation(RS.class); in test() 197 .addEqualityGroup(a, te.getAnnotation(A.class)) in test() 198 .addEqualityGroup(b, te.getAnnotation(B.class)) in test() 203 .addEqualityGroup(I.class.getAnnotation(A.class)) in test()
|
/external/guice/core/src/com/google/inject/ |
D | Key.java | 150 public final Annotation getAnnotation() { in getAnnotation() method in Key 151 return annotationStrategy.getAnnotation(); in getAnnotation() 159 Annotation annotation = annotationStrategy.getAnnotation(); in getAnnotationName() 304 Annotation getAnnotation(); in getAnnotation() method 368 public Annotation getAnnotation() { in getAnnotation() method in Key.NullAnnotationStrategy 403 public Annotation getAnnotation() { in getAnnotation() method in Key.AnnotationInstanceStrategy 456 public Annotation getAnnotation() { in getAnnotation() method in Key.AnnotationTypeStrategy
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ext/ |
D | Java7SupportImpl.java | 29 Transient t = a.getAnnotation(Transient.class); in findTransient() 38 ConstructorProperties props = a.getAnnotation(ConstructorProperties.class); in hasCreatorAnnotation() 52 ConstructorProperties props = ctor.getAnnotation(ConstructorProperties.class); in findConstructorName()
|
/external/libchrome/base/test/android/junit/src/org/chromium/base/test/util/ |
D | AnnotationProcessingUtilsTest.java | 44 retrievedAnnotation = AnnotationProcessingUtils.getAnnotation( in testGetTargetAnnotation_NotOnClassNorMethod() 55 retrievedAnnotation = AnnotationProcessingUtils.getAnnotation( in testGetTargetAnnotation_NotOnClassButOnMethod() 65 retrievedAnnotation = AnnotationProcessingUtils.getAnnotation( in testGetTargetAnnotation_NotOnClassDifferentOneOnMethod() 75 retrievedAnnotation = AnnotationProcessingUtils.getAnnotation( in testGetTargetAnnotation_OnClassButNotOnMethod() 86 retrievedAnnotation = AnnotationProcessingUtils.getAnnotation( in testGetTargetAnnotation_OnClassAndMethod() 98 retrievedAnnotation = AnnotationProcessingUtils.getAnnotation( in testGetTargetAnnotation_OnRuleButNotOnMethod() 109 retrievedAnnotation = AnnotationProcessingUtils.getAnnotation( in testGetTargetAnnotation_OnRuleAndMethod() 119 retrievedAnnotation = AnnotationProcessingUtils.getAnnotation( in testGetMetaAnnotation_Indirectly()
|
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/ |
D | AutoAnnotationTest.java | 59 StringValues expectedStringValues = AnnotatedClass.class.getAnnotation(StringValues.class); in testSimple() 103 StringValues expectedStringValues = AnnotatedClass.class.getAnnotation(StringValues.class); in testSimpleVarArgs() 119 Empty expectedEmpty = AnnotatedClass.class.getAnnotation(Empty.class); in testEmpty() 298 AnnotatedWithEverything.class.getAnnotation(Everything.class); 442 IntArray expected = AnnotatedWithIntArray.class.getAnnotation(IntArray.class); in testDerivedPrimitiveCollection() 500 AnnotatedWithAnnotationsAnnotation.class.getAnnotation(AnnotationsAnnotation.class); in testGenericArray() 522 AnnotatedWithClassesAnnotation.class.getAnnotation(ClassesAnnotation.class); in testWildcardArray() 547 AnnotatedWithIntegersAnnotation.class.getAnnotation(IntegersAnnotation.class); in testConstantOverflowInHashCode() 611 AnnotatedWithEverythingWithDefaults.class.getAnnotation(EverythingWithDefaults.class); in testDefaultedValues()
|
/external/junit/src/main/java/org/junit/internal/runners/ |
D | TestMethod.java | 30 return method.getAnnotation(Ignore.class) != null; in isIgnored() 34 Test annotation = method.getAnnotation(Test.class); in getTimeout() 43 Test annotation = method.getAnnotation(Test.class); in getExpectedException()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/ |
D | AccessibilityUtil.java | 60 AccessibilityChecks classChecksAnnotation = getAnnotation(); in checkViewIfCheckingEnabled() 76 return checkView(view, getAnnotation()); in checkView() 225 private static AccessibilityChecks getAnnotation() { in getAnnotation() method in AccessibilityUtil 236 classChecksAnnotation = method.getAnnotation(AccessibilityChecks.class); in getAnnotation() 238 classChecksAnnotation = clazz.getAnnotation(AccessibilityChecks.class); in getAnnotation()
|
/external/desugar/java/com/google/devtools/common/options/processor/ |
D | OptionProcessor.java | 175 Option annotation = optionField.getAnnotation(Option.class); in getAcceptedConverterReturnTypes() 321 Option annotation = optionField.getAnnotation(Option.class); in checkConverter() 336 ProcessorUtils.getAnnotation(elementUtils, typeUtils, optionField, Option.class); in checkConverter() 362 Option annotation = optionField.getAnnotation(Option.class); in checkEffectTagRationality() 395 Option annotation = optionField.getAnnotation(Option.class); in checkMetadataTagAndCategoryRationality() 417 Option annotation = optionField.getAnnotation(Option.class); in checkOldCategoriesAreNotUsed() 428 Option annotation = optionField.getAnnotation(Option.class); in checkOptionName() 454 Option annotation = optionField.getAnnotation(Option.class); in checkExpansionOptions() 459 ProcessorUtils.getAnnotation(elementUtils, typeUtils, optionField, Option.class); in checkExpansionOptions()
|
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
D | JpaLocalTxnInterceptor.java | 104 transactional = method.getAnnotation(Transactional.class); in readTransactionMetadata() 107 transactional = targetClass.getAnnotation(Transactional.class); in readTransactionMetadata() 111 transactional = Internal.class.getAnnotation(Transactional.class); in readTransactionMetadata()
|
/external/guava/android/guava-testlib/test/com/google/common/collect/testing/features/ |
D | FeatureEnumTest.java | 37 annotationClass.getAnnotation(TesterAnnotation.class)); in assertGoodTesterAnnotation() 38 final Retention retentionPolicy = annotationClass.getAnnotation(Retention.class); in assertGoodTesterAnnotation() 48 annotationClass.getAnnotation(Inherited.class)); in assertGoodTesterAnnotation()
|
/external/guava/guava-testlib/test/com/google/common/collect/testing/features/ |
D | FeatureEnumTest.java | 37 annotationClass.getAnnotation(TesterAnnotation.class)); in assertGoodTesterAnnotation() 38 final Retention retentionPolicy = annotationClass.getAnnotation(Retention.class); in assertGoodTesterAnnotation() 48 annotationClass.getAnnotation(Inherited.class)); in assertGoodTesterAnnotation()
|
/external/caliper/caliper/src/main/java/com/google/caliper/json/ |
D | AnnotationExclusionStrategy.java | 28 return f.getAnnotation(ExcludeFromJson.class) != null; in shouldSkipField() 32 return clazz.getAnnotation(ExcludeFromJson.class) != null; in shouldSkipClass()
|
/external/desugar/java/com/google/devtools/common/options/testing/ |
D | OptionsTester.java | 65 .that(field.getAnnotation(Option.class)) in testAllInstanceFieldsAnnotatedWithOption() 85 Option option = field.getAnnotation(Option.class); in testAllDefaultValuesTestedBy() 101 Option option = field.getAnnotation(Option.class); in testAllDefaultValuesTestedBy()
|
/external/testng/src/main/java/org/testng/internal/annotations/ |
D | JDK15AnnotationFinder.java | 87 return cls.getAnnotation(a); in findAnnotationInSuperClasses() 91 A result = cls.getAnnotation(a); in findAnnotationInSuperClasses() 110 Annotation annotation = m.getAnnotation(a); in findAnnotation() 129 Annotation annotation = m.getAnnotation(a); in findAnnotation() 131 annotation = testClass.getAnnotation(a); in findAnnotation() 203 Annotation annotation = cons.getAnnotation(a); in findAnnotation()
|
/external/junit/src/main/java/org/junit/experimental/categories/ |
D | Categories.java | 294 Category annotation= description.getAnnotation(Category.class); in directCategories() 323 IncludeCategory annotation= klass.getAnnotation(IncludeCategory.class); in getIncludedCategory() 328 IncludeCategory annotation= klass.getAnnotation(IncludeCategory.class); in isAnyIncluded() 333 ExcludeCategory annotation= klass.getAnnotation(ExcludeCategory.class); in getExcludedCategory() 338 ExcludeCategory annotation= klass.getAnnotation(ExcludeCategory.class); in isAnyExcluded()
|
/external/testng/src/test/java/test/verify/ |
D | VerifyMethodInterceptor.java | 21 if (m.getMethod().getMethod().getAnnotation(Verifier.class) != null) { in intercept() 34 if (m.getMethod().getMethod().getAnnotation(Verify.class) != null) { in intercept()
|