Home
last modified time | relevance | path

Searched refs:annotationName (Results 1 – 25 of 33) sorted by relevance

12

/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DShardingAnnotator.java96 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/
DNodeWithAnnotations.java133 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/
DAnnotationStrings.java141 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/
DNodeWithAnnotations.java194 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/
Dcom_github_javaparser_ast_nodeTypes_NodeWithAnnotations.txt23 …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…
Dcom_github_javaparser_ast_CompilationUnit.txt97 …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/
DIndexer.java62 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/
DMemoizedValidator.java76 static Optional<AnnotationMirror> getAnnotationMirror(Element element, String annotationName) { in getAnnotationMirror() argument
79 if (annotationElement.getQualifiedName().contentEquals(annotationName)) { in getAnnotationMirror()
DMemoizeExtension.java331 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/
DMarkThatRulesRanRule.java128 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/
DMirrors.java78 String annotationName = annotationType.getName();
80 if (getQualifiedName(annotationMirror.getAnnotationType()).contentEquals(annotationName)) {
/external/auto/value/src/main/java/com/google/auto/value/processor/
Dautoannotation.vm48 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;
DAutoAnnotationTemplateVars.java51 String annotationName; field in AutoAnnotationTemplateVars
DAutoValueOrOneOfProcessor.java1089 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/
DAndroidEntryPointMetadata.java509 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/
Dcatch_objc.hpp63 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/
DCompilationUnit.java408 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/
DBindsInstanceMethodValidator.java86 moduleAnnotation.annotationName()); in didYouMeanBinds()
/external/dagger2/java/dagger/internal/codegen/base/
DModuleAnnotation.java51 public String annotationName() { in annotationName() method in ModuleAnnotation
/external/dagger2/java/dagger/internal/codegen/binding/
DBindingDeclarationFormatter.java121 subcomponentDeclaration.moduleAnnotation().annotationName(), in formatSubcomponentDeclaration()
/external/dagger2/java/dagger/hilt/android/processor/internal/bindvalue/
DBindValueGenerator.java145 ClassName annotationClassName = bindValue.annotationName(); in providesMethod()
DBindValueMetadata.java81 abstract ClassName annotationName(); in annotationName() method in BindValueMetadata.BindValueElement
/external/doclava/src/com/google/doclava/
DPackageInfo.java366 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/
DCompilationUnit.java489 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/
DTestAnnotations.java174 String annotationName = annotations.getShortName(); in TestNamesVsEmojiData() local
176 assertEquals(emoji, name, annotationName); in TestNamesVsEmojiData()

12