Home
last modified time | relevance | path

Searched refs:annotationMirror (Results 1 – 5 of 5) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DScope.java47 private final AnnotationMirror annotationMirror; field in Scope
49 private Scope(@Nullable AnnotationMirror annotationMirror) { in Scope() argument
50 this.annotationMirror = annotationMirror; in Scope()
77 return annotationMirror != null; in isPresent()
84 return annotationMirror != null in isSingleton()
85 && isTypeOf(Singleton.class, annotationMirror.getAnnotationType()); in isSingleton()
110 Preconditions.checkState(annotationMirror != null, in getQualifiedName()
112 TypeElement typeElement = MoreTypes.asTypeElement(annotationMirror.getAnnotationType()); in getQualifiedName()
127 .equivalent(this.annotationMirror, that.annotationMirror); in equals()
135 return AnnotationMirrors.equivalence().hash(annotationMirror); in hashCode()
[all …]
DConfigurationAnnotations.java116 AnnotationMirror annotationMirror, String elementName) { in convertClassArrayToListOfTypes() argument
117 return TO_LIST_OF_TYPES.visit(getAnnotationValue(annotationMirror, elementName), elementName); in convertClassArrayToListOfTypes()
/external/desugar/java/com/google/devtools/common/options/processor/
DProcessorUtils.java44 TypeMirror annotationMirror = annotationElement.asType(); in getAnnotation() local
47 if (typeUtils.isSameType(annot.getAnnotationType(), annotationMirror)) { in getAnnotation()
DOptionProcessor.java455 AnnotationMirror annotationMirror = in checkExpansionOptions() local
459 elementUtils, annotationMirror, "expansionFunction"); in checkExpansionOptions()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DRobolectricModel.java166 public static AnnotationValue getAnnotationValue(AnnotationMirror annotationMirror, String key) { in getAnnotationValue() argument
167 …for (Entry<? extends ExecutableElement, ? extends AnnotationValue> entry : annotationMirror.getEle… in getAnnotationValue()