Searched refs:generatedAnnotation (Results 1 – 12 of 12) sorted by relevance
21 import static com.google.auto.common.GeneratedAnnotations.generatedAnnotation;97 Optional<AnnotationSpec> generatedAnnotation = in buildJavaFile() local98 generatedAnnotation(elements, sourceVersion) in buildJavaFile()105 generatedAnnotation.ifPresent(typeSpecBuilder::addAnnotation); in buildJavaFile()123 if (!generatedAnnotation.isPresent()) { in buildJavaFile()
38 public static Optional<TypeElement> generatedAnnotation(Elements elements) { in generatedAnnotation() method in GeneratedAnnotations54 public static Optional<TypeElement> generatedAnnotation( in generatedAnnotation() method in GeneratedAnnotations
86 return GeneratedAnnotations.generatedAnnotation(elements) in generatedAnnotationSpecBuilder()95 return GeneratedAnnotations.generatedAnnotation(elements, sourceVersion) in generatedAnnotationSpecBuilder()
169 ).ifPresent { generatedAnnotation -> in <lambda>() method170 addAnnotation(generatedAnnotation) in <lambda>()
47 grpcServiceModel.generatedAnnotation().ifPresent(type::addAnnotation); in createType()
61 grpcServiceModel.generatedAnnotation().ifPresent(serviceModule::addAnnotation); in createType()
59 grpcServiceModel.generatedAnnotation().ifPresent(unscopedServiceModule::addAnnotation); in createType()
66 grpcServiceModel.generatedAnnotation().ifPresent(proxyModule::addAnnotation); in createType()
118 protected final Optional<AnnotationSpec> generatedAnnotation() {
18 import static com.google.auto.common.GeneratedAnnotations.generatedAnnotation;201 return generatedAnnotation(elementUtils, processingEnv.getSourceVersion()) in getGeneratedTypeName()202 .map(generatedAnnotation -> TypeEncoder.encode(generatedAnnotation.asType())) in getGeneratedTypeName()
19 import static com.google.auto.common.GeneratedAnnotations.generatedAnnotation;532 generatedAnnotation(elementUtils(), processingEnv.getSourceVersion()) in defineSharedVarsForType()
958 GeneratedAnnotations.generatedAnnotation(env.getElementUtils(), env.getSourceVersion())