Home
last modified time | relevance | path

Searched refs:isAnnotated (Results 1 – 6 of 6) sorted by relevance

/external/javapoet/src/main/java/com/squareup/javapoet/
DClassName.java74 if (!isAnnotated()) return this; in withoutAnnotations()
81 @Override public boolean isAnnotated() { in isAnnotated() method in ClassName
82 return super.isAnnotated() || (enclosingClassName != null && enclosingClassName.isAnnotated()); in isAnnotated()
263 } else if (className.isAnnotated() || className == this) {
280 if (className.isAnnotated()) {
DArrayTypeName.java67 if (isAnnotated()) { in emitBrackets()
DTypeName.java130 public boolean isAnnotated() { in isAnnotated() method in TypeName
225 if (isAnnotated()) { in emit()
DParameterizedTypeName.java71 if (isAnnotated()) { in emit()
/external/javapoet/src/test/java/com/squareup/javapoet/
DAnnotatedTypeNameTest.java55 assertFalse(simpleString.isAnnotated()); in annotated()
59 assertTrue(annotated.isAnnotated()); in annotated()
112 assertFalse(type.isAnnotated()); in annotatedEquivalence()
145 assertThat(type.isAnnotated()).isTrue(); in withoutAnnotationsOnAnnotatedEnclosingAndNestedType()
152 assertThat(type.isAnnotated()).isTrue(); in withoutAnnotationsOnAnnotatedEnclosingType()
159 assertThat(type.isAnnotated()).isTrue(); in withoutAnnotationsOnAnnotatedNestedType()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DAndroidEntryPointMetadata.java510 boolean isAnnotated = Processors.hasAnnotation(element, annotationName); in checkAnnotationsMatch()
513 isAnnotated == isBaseAnnotated, in checkAnnotationsMatch()