/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ElementTest.java | 44 assertTrue(element.isAnnotationPresent(Tested.class)); in testPrivateField() 55 assertTrue(element.isAnnotationPresent(Tested.class)); in testPackagePrivateField() 66 assertTrue(element.isAnnotationPresent(Tested.class)); in testProtectedField() 77 assertTrue(element.isAnnotationPresent(Tested.class)); in testPublicField() 84 assertTrue(element.isAnnotationPresent(Tested.class)); in testFinalField() 90 assertTrue(element.isAnnotationPresent(Tested.class)); in testStaticField() 109 assertTrue(element.isAnnotationPresent(Tested.class)); in testConstructor() 117 assertTrue(element.isAnnotationPresent(Tested.class)); in testAbstractMethod() 125 assertTrue(element.isAnnotationPresent(Tested.class)); in testOverridableMethod() 135 assertTrue(element.isAnnotationPresent(Tested.class)); in testPrivateMethod() [all …]
|
/external/testng/src/main/java/org/testng/internal/annotations/ |
D | AnnotationHelper.java | 219 boolean hasClassAnnotation = isAnnotationPresent(annotationFinder, cls, annotationClass); in findMethodsWithAnnotation() 222 boolean hasMethodAnnotation = isAnnotationPresent(annotationFinder, m, annotationClass); in findMethodsWithAnnotation() 224 isAnnotationPresent(annotationFinder, m, IFactoryAnnotation.class) || in findMethodsWithAnnotation() 225 isAnnotationPresent(annotationFinder, m, ITestAnnotation.class) || in findMethodsWithAnnotation() 226 isAnnotationPresent(annotationFinder, m, CONFIGURATION_CLASSES); in findMethodsWithAnnotation() 234 if (isAnnotationPresent(annotationFinder, m, IConfigurationAnnotation.class) && in findMethodsWithAnnotation() 235 isAnnotationPresent(annotationFinder, cls, ITestAnnotation.class)) in findMethodsWithAnnotation() 286 private static boolean isAnnotationPresent(IAnnotationFinder annotationFinder, in isAnnotationPresent() method in AnnotationHelper 298 private static boolean isAnnotationPresent(IAnnotationFinder annotationFinder, Method m, in isAnnotationPresent() method in AnnotationHelper 303 private static boolean isAnnotationPresent(IAnnotationFinder annotationFinder, Class<?> cls, in isAnnotationPresent() method in AnnotationHelper
|
/external/mockito/src/org/mockito/internal/configuration/ |
D | SpyAnnotationEngine.java | 49 … if (field.isAnnotationPresent(Spy.class) && !field.isAnnotationPresent(InjectMocks.class)) { in process() 80 if (field.isAnnotationPresent(u)) { in assertNoIncompatibleAnnotations()
|
/external/guice/extensions/mini/src/com/google/inject/mini/ |
D | MiniGuice.java | 135 if (method.isAnnotationPresent(com.google.inject.Provides.class)) { in install() 164 boolean singleton = method.isAnnotationPresent(javax.inject.Singleton.class); in addProviderMethodBinding() 192 if (!field.isAnnotationPresent(javax.inject.Inject.class)) { in addJitBinding() 210 if (!constructor.isAnnotationPresent(javax.inject.Inject.class)) { in addJitBinding() 258 boolean singleton = type.isAnnotationPresent(javax.inject.Singleton.class); in addJitBinding() 303 if (!a.annotationType().isAnnotationPresent(javax.inject.Qualifier.class)) { in key()
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | DeprecatedAPIChecker.java | 108 …compareDeprecated(isAPIDeprecated(api), cls.isAnnotationPresent(Deprecated.class), clsName, null, … in checkClass() 124 …compareDeprecated(isAPIDeprecated(api), f.isAnnotationPresent(Deprecated.class), clsName, fName, "… in checkClass() 143 … compareDeprecated(isAPIDeprecated(api), ctor.isAnnotationPresent(Deprecated.class), clsName, in checkClass() 165 …compareDeprecated(isAPIDeprecated(api), mtd.isAnnotationPresent(Deprecated.class), clsName, mtdName in checkClass() 187 …compareDeprecated(isAPIDeprecated(api), cls.isAnnotationPresent(Deprecated.class), enumName, null,… in checkEnum() 203 …compareDeprecated(isAPIDeprecated(api), ec.isAnnotationPresent(Deprecated.class), enumName, ecName, in checkEnum() 225 …compareDeprecated(isAPIDeprecated(api), mtd.isAnnotationPresent(Deprecated.class), enumName, mtdNa… in checkEnum()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | ModuleDescriptor.java | 21 import static com.google.auto.common.MoreElements.isAnnotationPresent; 73 if (isAnnotationPresent(moduleMethod, Provides.class)) { 77 if (isAnnotationPresent(moduleMethod, Produces.class)) {
|
D | MembersInjectionBinding.java | 48 import static com.google.auto.common.MoreElements.isAnnotationPresent; 150 checkArgument(isAnnotationPresent(fieldElement, Inject.class)); in injectionSiteForInjectField() 274 if (!isAnnotationPresent(injectionSite, Inject.class) in shouldBeInjected() 311 return (isAnnotationPresent(e, Inject.class)
|
D | ModuleValidator.java | 49 import static com.google.auto.common.MoreElements.isAnnotationPresent; 100 if (isAnnotationPresent(moduleMethod, methodClass)) { in validate() 181 return MoreElements.isAnnotationPresent(element, otherClass); in validateReferencedModules() 260 if (isAnnotationPresent(superclassMethod, methodClass)) { in validateProvidesOverrides()
|
D | InjectConstructorValidator.java | 31 import static com.google.auto.common.MoreElements.isAnnotationPresent; 95 return isAnnotationPresent(input, Inject.class); in validate()
|
D | ModuleProcessingStep.java | 36 import static com.google.auto.common.MoreElements.isAnnotationPresent; 103 if (isAnnotationPresent(methodElement, Provides.class)) { in process()
|
D | ConfigurationAnnotations.java | 64 return MoreElements.isAnnotationPresent(componentDefinitionType, Component.class) in isComponent() 65 || MoreElements.isAnnotationPresent(componentDefinitionType, ProductionComponent.class); in isComponent() 199 if (MoreElements.isAnnotationPresent(element, annotation)) { in enclosedBuilders()
|
D | ProducerModuleProcessingStep.java | 37 import static com.google.auto.common.MoreElements.isAnnotationPresent; 106 if (isAnnotationPresent(methodElement, Produces.class)) { in process()
|
D | ProvisionBinding.java | 37 import static com.google.auto.common.MoreElements.isAnnotationPresent; 96 checkArgument(isAnnotationPresent(constructorElement, Inject.class)); in forInjectConstructor() 151 && (isAnnotationPresent(enclosedElement, Inject.class))) { in membersInjectionRequest()
|
D | ComponentDescriptor.java | 53 import static com.google.auto.common.MoreElements.isAnnotationPresent; 93 if (MoreElements.isAnnotationPresent(element, kind.annotationType())) { in forAnnotatedElement() 381 } else if (isAnnotationPresent(MoreTypes.asElement(returnType), Subcomponent.class)) { 386 } else if (isAnnotationPresent(MoreTypes.asElement(returnType),
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | FacadeManager.java | 63 if (method.isAnnotationPresent(RpcDeprecated.class)) { in invoke() 67 } else if (method.isAnnotationPresent(RpcMinSdk.class)) { in invoke()
|
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/facade/ |
D | FacadeConfiguration.java | 172 if (method.isAnnotationPresent(RpcDeprecated.class)) { in collectSupportedMethodDescriptors() 174 } else if (method.isAnnotationPresent(RpcMinSdk.class)) { in collectSupportedMethodDescriptors() 189 if (method.isAnnotationPresent(RpcStartEvent.class)) { in collectStartEventMethodDescriptors() 205 if (method.isAnnotationPresent(RpcStopEvent.class)) { in collectStopEventMethodDescriptors()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Element.java | 52 @Override public final boolean isAnnotationPresent(Class<? extends Annotation> annotationClass) { in isAnnotationPresent() method in Element 53 return accessibleObject.isAnnotationPresent(annotationClass); in isAnnotationPresent()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/ |
D | ApiProvider.java | 60 if (method.isAnnotationPresent(RpcDeprecated.class)) { in ApiProvider() 62 } else if (method.isAnnotationPresent(RpcMinSdk.class)) { in ApiProvider()
|
/external/mockito/src/org/mockito/internal/runners/util/ |
D | TestMethodsFinder.java | 15 if (m.isAnnotationPresent(Test.class)) { in hasTestMethods()
|
/external/guice/extensions/persist/src/com/google/inject/persist/finder/ |
D | DynamicFinder.java | 41 return method.isAnnotationPresent(Finder.class) ? new DynamicFinder(method) : null; in from()
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
D | Reflection.java | 35 if (method.isAnnotationPresent(annotationClass)) { in getAnnotatedMethods()
|
/external/caliper/caliper/src/main/java/com/google/caliper/options/ |
D | CommandLineParser.java | 209 checkArgument(!field.isAnnotationPresent(Leftovers.class), in forClass() 220 if (method.isAnnotationPresent(Leftovers.class)) { in forClass() 223 checkArgument(!method.isAnnotationPresent(Option.class), in forClass()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | EnumsTest.java | 174 assertTrue(foo.isAnnotationPresent(ExampleAnnotation.class)); in testGetField() 178 assertFalse(bar.isAnnotationPresent(ExampleAnnotation.class)); in testGetField()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/ |
D | MethodDescriptor.java | 69 if (method.isAnnotationPresent(Rpc.class)) { in collectFrom() 286 if (mMethod.isAnnotationPresent(RpcName.class)) { in getName() 331 if (mMethod.isAnnotationPresent(RpcStartEvent.class)) { in getHelp() 336 if (mMethod.isAnnotationPresent(RpcDeprecated.class)) { in getHelp()
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | DeprecatedFieldTest.java | 78 return annotated.isAnnotationPresent(Deprecated.class); in isDeprecated()
|