Home
last modified time | relevance | path

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

12

/external/dagger2/java/dagger/internal/codegen/validation/
DMultibindingAnnotationsProcessingStep.java19 import static dagger.internal.codegen.langmodel.DaggerElements.getAnnotationMirror;
65 getAnnotationMirror(method, annotation).get())); in process()
DBindingElementValidator.java27 import static dagger.internal.codegen.langmodel.DaggerElements.getAnnotationMirror;
334 getAnnotationMirror(element, bindingAnnotation).get(); in checkMultibindings()
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DPkgPrivateMetadata.java74 installIn = Optional.of(Processors.getAnnotationMirror(element, ClassNames.INSTALL_IN)); in of()
76 installIn = Optional.of(Processors.getAnnotationMirror(element, ClassNames.TEST_INSTALL_IN)); in of()
/external/dagger2/java/dagger/internal/codegen/binding/
DModuleKind.java22 import static dagger.internal.codegen.langmodel.DaggerElements.getAnnotationMirror;
94 Optional<AnnotationMirror> result = getAnnotationMirror(element, moduleAnnotation); in getModuleAnnotation()
DInjectionAnnotations.java26 import static dagger.internal.codegen.langmodel.DaggerElements.getAnnotationMirror;
134 getAnnotationMirror(method, InjectedFieldSignature.class) in getQualifiersForKotlinProperty()
/external/auto/value/src/main/java/com/google/auto/value/extension/memoized/processor/
DMemoizedValidator.java57 getAnnotationMirror(method, MEMOIZED_NAME).get()); in process()
76 static Optional<AnnotationMirror> getAnnotationMirror(Element element, String annotationName) { in getAnnotationMirror() method in MemoizedValidator
DMemoizeExtension.java23 …rt static com.google.auto.value.extension.memoized.processor.MemoizedValidator.getAnnotationMirror;
131 if (getAnnotationMirror(method, MEMOIZED_NAME).isPresent()) { in memoizedMethods()
332 return getAnnotationMirror(element, annotationName).isPresent(); in hasAnnotationMirror()
342 getAnnotationMirror(element, COPY_ANNOTATIONS_NAME); in getExcludedAnnotationTypes()
/external/dagger2/java/dagger/hilt/processor/internal/
DComponents.java100 Processors.getAnnotationMirror(element, ClassNames.INSTALL_IN), in getHiltInstallInComponents()
104 Processors.getAnnotationMirror(element, ClassNames.TEST_INSTALL_IN), in getHiltInstallInComponents()
DProcessors.java569 public static AnnotationMirror getAnnotationMirror(
571 return getAnnotationMirror(element, ClassName.get(annotationClass));
575 public static AnnotationMirror getAnnotationMirror(Element element, String annotationClassName) {
576 return getAnnotationMirror(element, ClassName.bestGuess(annotationClassName));
584 public static AnnotationMirror getAnnotationMirror(Element element, ClassName className) {
/external/dagger2/java/dagger/android/processor/
DAndroidMapKeyValidator.java20 import static com.google.auto.common.MoreElements.getAnnotationMirror;
157 AnnotationMirror annotationMirror = getAnnotationMirror(method, annotation).get(); in validateMapKeyMatchesBindsParameter()
DAndroidInjectorDescriptor.java21 import static com.google.auto.common.MoreElements.getAnnotationMirror;
124 getAnnotationMirror(method, ContributesAndroidInjector.class).get(); in createIfValid()
/external/dagger2/java/dagger/grpc/server/processor/
DGrpcServiceModel.java21 import static com.google.auto.common.MoreElements.getAnnotationMirror;
104 return getAnnotationMirror(serviceImplementation, GrpcService.class).get();
/external/auto/common/src/test/java/com/google/auto/common/
DAnnotationValuesTest.java152 MoreElements.getAnnotationMirror(annotatedClass, MultiValueAnnotation.class).get(); in setUp()
183 public void getAnnotationMirror() { in getAnnotationMirror() method in AnnotationValuesTest
187 AnnotationMirror annotationMirror = AnnotationValues.getAnnotationMirror(value); in getAnnotationMirror()
DMoreElementsTest.java203 public void getAnnotationMirror() { in getAnnotationMirror() method in MoreElementsTest
208 MoreElements.getAnnotationMirror(element, Documented.class); in getAnnotationMirror()
210 MoreElements.getAnnotationMirror(element, InnerAnnotation.class); in getAnnotationMirror()
212 MoreElements.getAnnotationMirror(element, SuppressWarnings.class); in getAnnotationMirror()
/external/dagger2/java/dagger/hilt/processor/internal/aliasof/
DAliasOfProcessor.java52 Processors.getAnnotationMirror(element, ClassNames.ALIAS_OF); in processEach()
DAliasOfs.java79 Processors.getAnnotationMirror(element, ClassNames.ALIAS_OF_PROPAGATED_DATA); in getAliases()
/external/dagger2/java/dagger/hilt/processor/internal/originatingelement/
DOriginatingElementProcessor.java58 Processors.getAnnotationMirror(element, ClassNames.ORIGINATING_ELEMENT), in processEach()
/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/auto/service/processor/src/main/java/com/google/auto/service/processor/
DAutoServiceProcessor.java19 import static com.google.auto.common.MoreElements.getAnnotationMirror;
138 AnnotationMirror annotationMirror = getAnnotationMirror(e, AutoService.class).get(); in processAnnotations()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DProvidedChecker.java72 providedParameter, Mirrors.getAnnotationMirror(providedParameter, Provided.class).get()); in raiseError()
DMirrors.java76 static Optional<AnnotationMirror> getAnnotationMirror(Element element,
/external/dagger2/java/dagger/hilt/android/processor/internal/uninstallmodules/
DUninstallModulesProcessor.java62 Processors.getAnnotationMirror(element, ClassNames.IGNORE_MODULES), in processEach()
/external/auto/common/src/main/java/com/google/auto/common/
DMoreElements.java223 return getAnnotationMirror(element, annotationClass).isPresent(); in isAnnotationPresent()
232 public static Optional<AnnotationMirror> getAnnotationMirror(Element element, in getAnnotationMirror() method in MoreElements
DAnnotationValues.java196 public static AnnotationMirror getAnnotationMirror(AnnotationValue value) { in getAnnotationMirror() method in AnnotationValues
345 new ArrayVisitor<>(AnnotationValues::getAnnotationMirror);
/external/dagger2/java/dagger/hilt/processor/internal/generatesrootinput/
DGeneratesRootInputs.java84 Processors.getAnnotationMirror(element, ClassNames.GENERATES_ROOT_INPUT_PROPAGATED_DATA); in getAnnotationList()

12