/external/doclava/src/com/google/doclava/ |
D | AndroidLinter.java | 76 boolean hasAnnotation = false; in lintMethod() 79 hasAnnotation = true; in lintMethod() 107 if (!hasAnnotation) { in lintMethod() 136 boolean hasAnnotation = false; in lintVariable() 139 hasAnnotation |= b.type().qualifiedNameMatches("android", "annotation.IntDef"); in lintVariable() 142 if (!hasAnnotation) { in lintVariable() 149 boolean hasAnnotation = false; in lintVariable() 151 hasAnnotation |= a.type().qualifiedNameMatches("android", "annotation.NonNull"); in lintVariable() 152 hasAnnotation |= a.type().qualifiedNameMatches("android", "annotation.Nullable"); in lintVariable() 154 if (!hasAnnotation) { in lintVariable()
|
/external/dagger2/java/dagger/hilt/processor/internal/ |
D | Components.java | 51 if (Processors.hasAnnotation(element, ClassNames.INSTALL_IN) in getComponents() 52 || Processors.hasAnnotation(element, ClassNames.TEST_INSTALL_IN)) { in getComponents() 61 && Processors.hasAnnotation(enclosing, ClassNames.MODULE) in getComponents() 92 Processors.hasAnnotation(element, ClassNames.INSTALL_IN) in getHiltInstallInComponents() 93 || Processors.hasAnnotation(element, ClassNames.TEST_INSTALL_IN)); in getHiltInstallInComponents() 97 Processors.hasAnnotation(element, ClassNames.INSTALL_IN) in getHiltInstallInComponents() 109 .filter(component -> !Processors.hasAnnotation(component, ClassNames.DEFINE_COMPONENT)) in getHiltInstallInComponents()
|
D | Processors.java | 447 public static boolean hasAnnotation(Element element, Class<? extends Annotation> annotation) { 452 public static boolean hasAnnotation(Element element, ClassName className) { 457 public static boolean hasAnnotation(AnnotationMirror mirror, ClassName className) { 458 return hasAnnotation(mirror.getAnnotationType().asElement(), className); 462 public static boolean hasAnnotation( 464 return hasAnnotation(mirror.getAnnotationType().asElement(), annotation); 771 .filter(annotation -> hasAnnotation(annotation, subAnnotation)) 876 return hasAnnotation(method, ClassNames.BINDS) 877 || hasAnnotation(method, ClassNames.BINDS_OPTIONAL_OF) 878 || hasAnnotation(method, ClassNames.MULTIBINDS) [all …]
|
/external/dagger2/java/dagger/hilt/processor/internal/root/ |
D | RootType.java | 51 if (Processors.hasAnnotation(element, ClassNames.HILT_ANDROID_APP)) { in of() 53 } else if (Processors.hasAnnotation(element, ClassNames.HILT_ANDROID_TEST)) { in of() 55 } else if (Processors.hasAnnotation(element, ClassNames.INTERNAL_TEST_ROOT)) { in of()
|
D | TestRootMetadata.java | 66 !Processors.hasAnnotation(element, ClassNames.ANDROID_ENTRY_POINT), in of() 71 Processors.hasAnnotation(element, ClassNames.HILT_ANDROID_TEST), in of()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/customtestapplication/ |
D | CustomTestApplicationMetadata.java | 55 Processors.hasAnnotation(element, ClassNames.CUSTOM_TEST_APPLICATION), in of() 83 !Processors.hasAnnotation(baseSuperclassElement, ClassNames.HILT_ANDROID_APP), in getBaseElement() 92 .filter(field -> Processors.hasAnnotation(field, ClassNames.INJECT)) in getBaseElement() 105 .filter(method -> Processors.hasAnnotation(method, ClassNames.INJECT)) in getBaseElement() 118 .filter(method -> Processors.hasAnnotation(method, ClassNames.INJECT)) in getBaseElement()
|
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/ |
D | AggregatedDepsProcessor.java | 159 || Processors.hasAnnotation(module.getEnclosingElement(), ClassNames.HILT_ANDROID_TEST), in processModule() 188 if (Processors.hasAnnotation(module, ClassNames.TEST_INSTALL_IN)) { in processModule() 215 !Processors.hasAnnotation(replacedModule, ClassNames.INSTALL_IN)) in processModule() 295 !Processors.hasAnnotation(element, ClassNames.TEST_INSTALL_IN), in processEntryPoint() 348 .filter(annotation -> Processors.hasAnnotation(element, annotation)) in getAnnotation() 367 return Processors.hasAnnotation(topLevelType, ClassNames.HILT_ANDROID_TEST) in getOriginatingTestElement() 374 if (Processors.hasAnnotation(topLevelType, ClassNames.ORIGINATING_ELEMENT)) { in getOriginatingTopLevelType() 392 || Processors.hasAnnotation(element, ClassNames.DISABLE_INSTALL_IN_CHECK); in installInCheckDisabled() 400 if (!Processors.hasAnnotation(element, ClassNames.MODULE)) { in isDaggerGeneratedModule() 455 .filter(method -> Processors.hasAnnotation(method, ClassNames.PROVIDES))
|
D | PkgPrivateMetadata.java | 73 if (Processors.hasAnnotation(element, ClassNames.INSTALL_IN)) { in of() 75 } else if (Processors.hasAnnotation(element, ClassNames.TEST_INSTALL_IN)) { in of()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/uninstallmodules/ |
D | UninstallModulesProcessor.java | 52 && Processors.hasAnnotation(element, ClassNames.HILT_ANDROID_TEST), in processEach() 67 !(Processors.hasAnnotation(module, ClassNames.MODULE) in processEach() 68 && Processors.hasAnnotation(module, ClassNames.INSTALL_IN))) in processEach()
|
/external/javassist/src/main/javassist/ |
D | CtMember.java | 35 public boolean hasAnnotation(String clz) { return false; } in hasAnnotation() method in CtMember.Cache 230 public boolean hasAnnotation(Class<?> clz) { in hasAnnotation() method in CtMember 231 return hasAnnotation(clz.getName()); in hasAnnotation() 241 public abstract boolean hasAnnotation(String annotationTypeName); in hasAnnotation() method in CtMember
|
D | CtClass.java | 593 public boolean hasAnnotation(Class<?> annotationType) { in hasAnnotation() method in CtClass 594 return hasAnnotation(annotationType.getName()); in hasAnnotation() 604 public boolean hasAnnotation(String annotationTypeName) { in hasAnnotation() method in CtClass
|
/external/dagger2/java/dagger/lint/ |
D | DaggerKotlinIssueDetector.kt | 180 if (annotation.resolve()?.hasAnnotation(QUALIFIER_ANNOTATION) == true) { in <lambda>() 201 node.hasAnnotation(PROVIDES_ANNOTATION) && in <lambda>() 202 node.hasAnnotation(JVM_STATIC_ANNOTATION) in <lambda>() 224 if (node.hasAnnotation(MODULE_ANNOTATION) && node.isCompanionObject(context.evaluator)) { in <lambda>() 226 if (parent.hasAnnotation(MODULE_ANNOTATION)) { in <lambda>()
|
/external/dagger2/java/dagger/hilt/android/internal/testing/ |
D | MarkThatRulesRanRule.java | 51 hasAnnotation(testInstance, HILT_ANDROID_TEST), in MarkThatRulesRanRule() 62 !hasAnnotation(context, HILT_ANDROID_APP), in MarkThatRulesRanRule() 128 private static boolean hasAnnotation(Object obj, String annotationName) {
|
/external/junit-params/src/main/java/junitparams/internal/annotation/ |
D | FrameworkMethodAnnotations.java | 19 return hasAnnotation(Parameters.class) in isParametrised() 31 public boolean hasAnnotation(Class<? extends Annotation> annotation) { in hasAnnotation() method in FrameworkMethodAnnotations
|
/external/dagger2/java/dagger/hilt/android/processor/internal/viewmodel/ |
D | ViewModelMetadata.kt | 64 !Processors.hasAnnotation(constructor, ClassNames.ASSISTED_INJECT), in <lambda>() 68 Processors.hasAnnotation(constructor, ClassNames.INJECT) in <lambda>()
|
D | ViewModelValidationPlugin.kt | 25 import dagger.hilt.processor.internal.Processors.hasAnnotation in <lambda>() 73 hasAnnotation(asElement(target.key().type()), AndroidClassNames.HILT_VIEW_MODEL) in <lambda>()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/ |
D | AndroidEntryPointMetadata.java | 101 return Processors.hasAnnotation(element(), AndroidClassNames.OPTIONAL_INJECT); in allowsOptionalInjection() 447 if (Processors.hasAnnotation(element, AndroidClassNames.HILT_ANDROID_APP)) { in of() 480 Processors.hasAnnotation(element, AndroidClassNames.WITH_FRAGMENT_BINDINGS); in forAndroidEntryPoint() 501 || !Processors.hasAnnotation(element, AndroidClassNames.OPTIONAL_INJECT), in checkConsistentAnnotations() 510 boolean isAnnotated = Processors.hasAnnotation(element, annotationName); in checkAnnotationsMatch() 511 boolean isBaseAnnotated = Processors.hasAnnotation(baseElement, annotationName); in checkAnnotationsMatch()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserClassDeclarationTest.java | 876 assertTrue(ca.hasAnnotation("foo.bar.MyAnnotation")); in testHasAnnotation() 877 assertFalse(ca.hasAnnotation("foo.bar.MyAnnotation2")); in testHasAnnotation() 878 assertFalse(ca.hasAnnotation("MyAnnotation")); in testHasAnnotation() 879 assertFalse(ca.hasAnnotation("foo.bar.MyUnexistingAnnotation")); in testHasAnnotation() 882 assertTrue(cb.hasAnnotation("foo.bar.MyAnnotation")); in testHasAnnotation() 883 assertTrue(cb.hasAnnotation("foo.bar.MyAnnotation2")); in testHasAnnotation() 884 assertFalse(cb.hasAnnotation("MyAnnotation")); in testHasAnnotation() 885 assertFalse(cb.hasAnnotation("foo.bar.MyUnexistingAnnotation")); in testHasAnnotation()
|
/external/dagger2/java/dagger/hilt/processor/internal/definecomponent/ |
D | DefineComponentBuilderMetadatas.java | 65 Processors.hasAnnotation(element, ClassNames.DEFINE_COMPONENT_BUILDER), in getUncached() 123 && Processors.hasAnnotation( in getUncached()
|
D | DefineComponentMetadatas.java | 80 Processors.hasAnnotation(element, ClassNames.DEFINE_COMPONENT), in getUncached() 155 || Processors.hasAnnotation(parent, ClassNames.DEFINE_COMPONENT), in getUncached()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/ |
D | POJOPropertiesCollectorTest.java | 479 assertTrue(prop.getGetter().hasAnnotation(A.class)); in testDuplicateGetters() 480 assertTrue(prop.getGetter().hasAnnotation(B.class)); in testDuplicateGetters() 491 assertTrue(prop._getters.value.hasAnnotation(A.class)); in testDuplicateGettersCreator() 493 assertTrue(prop._getters.next.value.hasAnnotation(A.class)); in testDuplicateGettersCreator()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/ |
D | Annotated.java | 19 public abstract boolean hasAnnotation(Class<?> acls); in hasAnnotation() method in Annotated
|
/external/protobuf/php/src/Google/Protobuf/Internal/ |
D | GeneratedCodeInfo.php | 76 public function hasAnnotation() function in Google\\Protobuf\\Internal\\GeneratedCodeInfo
|
/external/dagger2/java/dagger/hilt/processor/internal/disableinstallincheck/ |
D | DisableInstallInCheckProcessor.java | 44 Processors.hasAnnotation(element, ClassNames.MODULE), in processEach()
|
/external/dagger2/java/dagger/hilt/processor/internal/aliasof/ |
D | AliasOfProcessor.java | 46 Processors.hasAnnotation(element, ClassNames.SCOPE), in processEach()
|