/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/ |
D | ShardingAnnotator.java | 96 String annotationName = getAnnotationName(className); in annotateTestType() local 98 if (!imports.contains(annotationName)) { in annotateTestType() 99 appendImport(cu, rewrite, annotationName); in annotateTestType() 100 imports.add(annotationName); in annotateTestType() 104 annotation.setTypeName(ast.newSimpleName(annotationName)); in annotateTestType() 118 private void appendImport(CompilationUnit cu, ASTRewrite rewrite, String annotationName) { in appendImport() argument 121 importDeclaration.setName(ast.newName(ANNOTATION_PACKAGE + '.' + annotationName)); in appendImport()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithAnnotations.java | 133 public default boolean isAnnotationPresent(String annotationName) { in isAnnotationPresent() argument 134 … return getAnnotations().stream().anyMatch(a -> a.getName().getName().equals(annotationName)); in isAnnotationPresent() 153 public default AnnotationExpr getAnnotationByName(String annotationName) { in getAnnotationByName() argument 154 …return getAnnotations().stream().filter(a -> a.getName().getName().equals(annotationName)).findFir… in getAnnotationByName()
|
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/annotationdiscovery/ |
D | AnnotationStrings.java | 141 private static String asAnnotation(String annotationName) { in asAnnotation() argument 142 return "@" + annotationName; in asAnnotation() 145 private static String asAnnotationWithContent(String annotationName, String content) { in asAnnotationWithContent() argument 146 return "@" + annotationName + "(" + content + ")"; in asAnnotationWithContent()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithAnnotations.java | 194 default boolean isAnnotationPresent(String annotationName) { in isAnnotationPresent() argument 195 …return getAnnotations().stream().anyMatch(a -> a.getName().getIdentifier().equals(annotationName)); in isAnnotationPresent() 213 default Optional<AnnotationExpr> getAnnotationByName(String annotationName) { in getAnnotationByName() argument 214 …Annotations().stream().filter(a -> a.getName().getIdentifier().equals(annotationName)).findFirst(); in getAnnotationByName()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/ |
D | com_github_javaparser_ast_nodeTypes_NodeWithAnnotations.txt | 23 …Line 134) getAnnotations().stream().anyMatch(a -> a.getName().getName().equals(annotationName)) ==… 26 …Line 134) a.getName().getName().equals(annotationName) ==> java.lang.String.equals(java.lang.Objec… 31 …Line 154) getAnnotations().stream().filter(a -> a.getName().getName().equals(annotationName)).find… 32 …Line 154) getAnnotations().stream().filter(a -> a.getName().getName().equals(annotationName)).find… 33 …Line 154) getAnnotations().stream().filter(a -> a.getName().getName().equals(annotationName)) ==> … 36 …Line 154) a.getName().getName().equals(annotationName) ==> java.lang.String.equals(java.lang.Objec…
|
D | com_github_javaparser_ast_CompilationUnit.txt | 97 …Line 409) getTypes().stream().filter(type -> type.getName().equals(annotationName) && type instanc… 98 …Line 409) getTypes().stream().filter(type -> type.getName().equals(annotationName) && type instanc… 99 …Line 409) getTypes().stream().filter(type -> type.getName().equals(annotationName) && type instanc… 102 Line 409) type.getName().equals(annotationName) ==> java.lang.String.equals(java.lang.Object)
|
/external/guice/core/src/com/google/inject/internal/ |
D | Indexer.java | 62 final String annotationName; field in Indexer.IndexedBinding 75 this.annotationName = annotation.setName(); in IndexedBinding() 89 && annotationName.equals(o.annotationName) in equals() 96 type, scope, typeLiteral, annotationType, annotationName, extraEquality); in hashCode()
|
/external/auto/value/src/main/java/com/google/auto/value/extension/memoized/processor/ |
D | MemoizedValidator.java | 76 static Optional<AnnotationMirror> getAnnotationMirror(Element element, String annotationName) { in getAnnotationMirror() argument 79 if (annotationElement.getQualifiedName().contentEquals(annotationName)) { in getAnnotationMirror()
|
D | MemoizeExtension.java | 331 private static boolean hasAnnotationMirror(Element element, String annotationName) { in hasAnnotationMirror() argument 332 return getAnnotationMirror(element, annotationName).isPresent(); in hasAnnotationMirror()
|
/external/dagger2/java/dagger/hilt/android/internal/testing/ |
D | MarkThatRulesRanRule.java | 128 private static boolean hasAnnotation(Object obj, String annotationName) { 130 if (annotation.annotationType().getName().contentEquals(annotationName)) {
|
/external/auto/factory/src/main/java/com/google/auto/factory/processor/ |
D | Mirrors.java | 78 String annotationName = annotationType.getName(); 80 if (getQualifiedName(annotationMirror.getAnnotationType()).contentEquals(annotationName)) {
|
/external/auto/value/src/main/java/com/google/auto/value/processor/ |
D | autoannotation.vm | 48 final class $className implements $annotationName { 112 public Class<? extends $annotationName> annotationType() { 113 return ${annotationName}.class; 219 if (o instanceof $annotationName) { 227 $annotationName that = ($annotationName) o;
|
D | AutoAnnotationTemplateVars.java | 51 String annotationName; field in AutoAnnotationTemplateVars
|
D | AutoValueOrOneOfProcessor.java | 1089 static Optional<AnnotationMirror> getAnnotationMirror(Element element, String annotationName) { in getAnnotationMirror() argument 1092 if (annotationElement.getQualifiedName().contentEquals(annotationName)) { in getAnnotationMirror() 1099 static boolean hasAnnotationMirror(Element element, String annotationName) { in hasAnnotationMirror() argument 1100 return getAnnotationMirror(element, annotationName).isPresent(); in hasAnnotationMirror()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/ |
D | AndroidEntryPointMetadata.java | 509 TypeElement element, TypeElement baseElement, ClassName annotationName) { in checkAnnotationsMatch() argument 510 boolean isAnnotated = Processors.hasAnnotation(element, annotationName); in checkAnnotationsMatch() 511 boolean isBaseAnnotated = Processors.hasAnnotation(baseElement, annotationName); in checkAnnotationsMatch() 520 annotationName.simpleName()); in checkAnnotationsMatch()
|
/external/catch2/include/internal/ |
D | catch_objc.hpp | 63 std::string const& annotationName, in getAnnotation() argument 65 …NSString* selStr = [[NSString alloc] initWithFormat:@"Catch_%s_%s", annotationName.c_str(), testCa… in getAnnotation()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/ |
D | CompilationUnit.java | 408 public AnnotationDeclaration getAnnotationDeclarationByName(String annotationName) { in getAnnotationDeclarationByName() argument 409 …rn (AnnotationDeclaration) getTypes().stream().filter(type -> type.getName().equals(annotationName) in getAnnotationDeclarationByName()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | BindsInstanceMethodValidator.java | 86 moduleAnnotation.annotationName()); in didYouMeanBinds()
|
/external/dagger2/java/dagger/internal/codegen/base/ |
D | ModuleAnnotation.java | 51 public String annotationName() { in annotationName() method in ModuleAnnotation
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | BindingDeclarationFormatter.java | 121 subcomponentDeclaration.moduleAnnotation().annotationName(), in formatSubcomponentDeclaration()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/bindvalue/ |
D | BindValueGenerator.java | 145 ClassName annotationClassName = bindValue.annotationName(); in providesMethod()
|
D | BindValueMetadata.java | 81 abstract ClassName annotationName(); in annotationName() method in BindValueMetadata.BindValueElement
|
/external/doclava/src/com/google/doclava/ |
D | PackageInfo.java | 366 public ClassInfo getAnnotation(String annotationName) { in getAnnotation() argument 367 return mAnnotationsMap.get(annotationName); in getAnnotation()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/ |
D | CompilationUnit.java | 489 public Optional<AnnotationDeclaration> getAnnotationDeclarationByName(String annotationName) { in getAnnotationDeclarationByName() argument 490 …return getTypes().stream().filter(type -> type.getNameAsString().equals(annotationName) && type in… in getAnnotationDeclarationByName()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestAnnotations.java | 174 String annotationName = annotations.getShortName(); in TestNamesVsEmojiData() local 176 assertEquals(emoji, name, annotationName); in TestNamesVsEmojiData()
|