Home
last modified time | relevance | path

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

12

/external/nullaway/nullaway/src/main/java/com/uber/nullaway/
DAbstractConfig.java168 public boolean isInitializerMethodAnnotation(String annotationName) { in isInitializerMethodAnnotation() argument
169 return initializerAnnotations.contains(annotationName); in isInitializerMethodAnnotation()
173 public boolean isCustomNullableAnnotation(String annotationName) { in isCustomNullableAnnotation() argument
174 return customNullableAnnotations.contains(annotationName); in isCustomNullableAnnotation()
178 public boolean isCustomNonnullAnnotation(String annotationName) { in isCustomNonnullAnnotation() argument
179 return customNonnullAnnotations.contains(annotationName); in isCustomNonnullAnnotation()
197 public boolean isExcludedFieldAnnotation(String annotationName) { in isExcludedFieldAnnotation() argument
198 return Nullness.isNullableAnnotation(annotationName, this) in isExcludedFieldAnnotation()
199 || (fieldAnnotPattern != null && fieldAnnotPattern.matcher(annotationName).matches()); in isExcludedFieldAnnotation()
253 public boolean isExternalInitClassAnnotation(String annotationName) { in isExternalInitClassAnnotation() argument
[all …]
DConfig.java75 boolean isInitializerMethodAnnotation(String annotationName); in isInitializerMethodAnnotation() argument
83 boolean isCustomNullableAnnotation(String annotationName); in isCustomNullableAnnotation() argument
91 boolean isCustomNonnullAnnotation(String annotationName); in isCustomNonnullAnnotation() argument
100 boolean isExcludedFieldAnnotation(String annotationName); in isExcludedFieldAnnotation() argument
125 boolean isExternalInitClassAnnotation(String annotationName); in isExternalInitClassAnnotation() argument
134 boolean isContractAnnotation(String annotationName); in isContractAnnotation() argument
DDummyOptionsConfig.java87 public boolean isExternalInitClassAnnotation(String annotationName) { in isExternalInitClassAnnotation() argument
92 public boolean isContractAnnotation(String annotationName) { in isContractAnnotation() argument
97 public boolean isExcludedFieldAnnotation(String annotationName) { in isExcludedFieldAnnotation() argument
102 public boolean isInitializerMethodAnnotation(String annotationName) { in isInitializerMethodAnnotation() argument
107 public boolean isCustomNullableAnnotation(String annotationName) { in isCustomNullableAnnotation() argument
112 public boolean isCustomNonnullAnnotation(String annotationName) { in isCustomNonnullAnnotation() argument
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DShardingAnnotator.java110 String annotationName = getAnnotationName(className); in annotateTestType() local
112 if (!imports.contains(annotationName)) { in annotateTestType()
113 appendImport(cu, rewrite, annotationName); in annotateTestType()
114 imports.add(annotationName); in annotateTestType()
118 annotation.setTypeName(ast.newSimpleName(annotationName)); in annotateTestType()
132 private void appendImport(CompilationUnit cu, ASTRewrite rewrite, String annotationName) { in appendImport() argument
135 importDeclaration.setName(ast.newName(ANNOTATION_PACKAGE + '.' + annotationName)); in appendImport()
/external/dagger2/java/dagger/android/processor/
DMoreDaggerElements.java37 public static boolean isAnnotationPresent(Element element, ClassName annotationName) { in isAnnotationPresent() argument
38 return getAnnotationMirror(element, annotationName).isPresent(); in isAnnotationPresent()
48 Element element, ClassName annotationName) { in getAnnotationMirror() argument
49 String annotationClassName = annotationName.canonicalName(); in getAnnotationMirror()
/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-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…
/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/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/dagger2/java/dagger/internal/codegen/langmodel/
DDaggerElements.java169 public static boolean isAnnotationPresent(Element element, ClassName annotationName) { in isAnnotationPresent() argument
170 return getAnnotationMirror(element, annotationName).isPresent(); in isAnnotationPresent()
182 Element element, ClassName annotationName) { in getAnnotationMirror() argument
183 String annotationClassName = annotationName.canonicalName(); in getAnnotationMirror()
195 Element element, ClassName annotationName) { in getAnnotatedAnnotations() argument
197 .filter(input -> isAnnotationPresent(input.getAnnotationType().asElement(), annotationName)) in getAnnotatedAnnotations()
/external/auto/value/src/main/java/com/google/auto/value/extension/toprettystring/processor/
DAnnotations.java29 static Optional<AnnotationMirror> getAnnotationMirror(Element element, String annotationName) { in getAnnotationMirror() argument
32 if (annotationElement.getQualifiedName().contentEquals(annotationName)) { in getAnnotationMirror()
/external/dagger2/java/dagger/hilt/
DEntryPoints.java69 private static boolean hasAnnotationReflection(Class<?> clazz, String annotationName) { in hasAnnotationReflection() argument
71 if (annotation.annotationType().getCanonicalName().contentEquals(annotationName)) { in hasAnnotationReflection()
/external/auto/common/src/main/java/com/google/auto/common/
DMoreElements.java244 public static boolean isAnnotationPresent(Element element, String annotationName) { in isAnnotationPresent() argument
245 return getAnnotationMirror(element, annotationName).isPresent(); in isAnnotationPresent()
286 Element element, String annotationName) { in getAnnotationMirror() argument
289 if (annotationTypeElement.getQualifiedName().contentEquals(annotationName)) { in getAnnotationMirror()
DAnnotationMirrors.java188 Element element, String annotationName) { in getAnnotatedAnnotations() argument
190 .filter(input -> isAnnotationPresent(input.getAnnotationType().asElement(), annotationName)) in getAnnotatedAnnotations()
/external/dagger2/java/dagger/hilt/android/internal/testing/
DMarkThatRulesRanRule.java131 private static boolean hasAnnotation(Object obj, String annotationName) {
133 if (annotation.annotationType().getName().contentEquals(annotationName)) {
/external/auto/value/src/main/java/com/google/auto/value/extension/memoized/processor/
DMemoizedValidator.java74 static Optional<AnnotationMirror> getAnnotationMirror(Element element, String annotationName) { in getAnnotationMirror() argument
77 if (annotationElement.getQualifiedName().contentEquals(annotationName)) { in getAnnotationMirror()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DMirrors.java81 String annotationName = annotationType.getName();
83 .filter(a -> getQualifiedName(a.getAnnotationType()).contentEquals(annotationName))
/external/auto/value/src/main/java/com/google/auto/value/processor/
Dautoannotation.vm48 final class $className implements $annotationName, `java.io.Serializable` {
113 public Class<? extends $annotationName> annotationType() {
114 return ${annotationName}.class;
220 if (o instanceof $annotationName) {
228 $annotationName that = ($annotationName) o;
DAutoAnnotationTemplateVars.java57 String annotationName; field in AutoAnnotationTemplateVars
/external/cronet/build/android/pylib/utils/
Ddexdump.py196 annotationName, annotationValuesStr = annotationMatcher.findall(line)[0]
202 currentAnnotationsBlock.update({annotationName: annotationValues})
/external/angle/build/android/pylib/utils/
Ddexdump.py196 annotationName, annotationValuesStr = annotationMatcher.findall(line)[0]
202 currentAnnotationsBlock.update({annotationName: annotationValues})
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DAndroidEntryPointMetadata.java508 TypeElement element, TypeElement baseElement, ClassName annotationName) { in checkAnnotationsMatch() argument
509 boolean isAnnotated = Processors.hasAnnotation(element, annotationName); in checkAnnotationsMatch()
510 boolean isBaseAnnotated = Processors.hasAnnotation(baseElement, annotationName); in checkAnnotationsMatch()
519 annotationName.simpleName()); in checkAnnotationsMatch()
/external/dagger2/java/dagger/internal/codegen/xprocessing/
DXElements.java130 XAnnotated annotated, ClassName annotationName) { in getAnnotatedAnnotations() argument
132 .filter(annotation -> annotation.getType().getTypeElement().hasAnnotation(annotationName)) in getAnnotatedAnnotations()
/external/dagger2/java/dagger/internal/codegen/validation/
DTypeCheckingProcessingStep.java181 (annotationName, elementSet) -> in inverse()
183 element -> builder.put(element, annotationClassNames.get(annotationName)))); in inverse()

12