Home
last modified time | relevance | path

Searched refs:getAnnotationMirror (Results 1 – 11 of 11) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProductionComponentValidator.java29 import static com.google.auto.common.MoreElements.getAnnotationMirror;
52 getAnnotationMirror(subject, ProductionComponent.class).get(); in validate()
69 if (!getAnnotationMirror(moduleElement, Module.class).isPresent() in validate()
70 && !getAnnotationMirror(moduleElement, ProducerModule.class).isPresent()) { in validate()
DConfigurationAnnotations.java52 import static com.google.auto.common.MoreElements.getAnnotationMirror;
172 Optional<AnnotationMirror> moduleMirror = getAnnotationMirror(moduleElement, Module.class) in getTransitiveModules()
173 .or(getAnnotationMirror(moduleElement, ProducerModule.class)); in getTransitiveModules()
219 return MoreElements.getAnnotationMirror(t.asElement(), Subcomponent.class); in visitDeclared()
231 Optional<AnnotationMirror> moduleMirror = getAnnotationMirror(element, Module.class) in addIncludesFromSuperclasses()
232 .or(getAnnotationMirror(element, ProducerModule.class)); in addIncludesFromSuperclasses()
DModuleDescriptor.java20 import static com.google.auto.common.MoreElements.getAnnotationMirror;
99 return getAnnotationMirror(moduleElement, Module.class)
100 .or(getAnnotationMirror(moduleElement, ProducerModule.class));
DModuleValidator.java48 import static com.google.auto.common.MoreElements.getAnnotationMirror;
145 AnnotationMirror mirror = getAnnotationMirror(subject, moduleClass).get(); in validateReferencedModules()
297 getAnnotationMirror(moduleElement, moduleClass).get())) in validateModuleVisibility()
DComponentValidator.java49 import static com.google.auto.common.MoreElements.getAnnotationMirror;
227 getAnnotationMirror(subject, componentType.annotationType()).get(); in validate()
341 return MoreElements.getAnnotationMirror(t.asElement(), annotation); in checkForAnnotation()
DComponentDescriptor.java52 import static com.google.auto.common.MoreElements.getAnnotationMirror;
270 getAnnotationMirror(componentDefinitionType, kind.annotationType())
271 .or(getAnnotationMirror(componentDefinitionType, Subcomponent.class))
DBindingGraph.java58 import static com.google.auto.common.MoreElements.getAnnotationMirror;
189 getAnnotationMirror(componentDefinitionType, Component.class)
190 .or(getAnnotationMirror(componentDefinitionType, ProductionComponent.class));
DBindingGraphValidator.java69 import static com.google.auto.common.MoreElements.getAnnotationMirror;
543 rootComponent, getAnnotationMirror(rootComponent, Component.class).get()); in validateComponentHierarchy()
546 getAnnotationMirror(componentType, Component.class); in validateComponentHierarchy()
688 rootComponent, getAnnotationMirror(rootComponent, Component.class).get()); in validateScopeHierarchy()
693 getAnnotationMirror(componentType, Component.class); in validateScopeHierarchy()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DHelpers.java88 public static AnnotationMirror getAnnotationMirror(Types types, Element element, in getAnnotationMirror() method in Helpers
101 return getAnnotationMirror(types, elem, typeElement); in getImplementsMirror()
/external/tensorflow/tensorflow/java/src/gen/java/org/tensorflow/processor/
DOperatorProcessor.java220 AnnotationMirror am = getAnnotationMirror(opClass, annotation); in collectOpMethods()
434 private static AnnotationMirror getAnnotationMirror(Element element, TypeElement annotation) { in getAnnotationMirror() method in OperatorProcessor
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DValidator.java74 currentAnnotation = Helpers.getAnnotationMirror(types, currentElement, annotationType); in getCurrentAnnotation()