Home
last modified time | relevance | path

Searched refs:messager (Results 1 – 25 of 46) sorted by relevance

12

/external/dagger2/java/dagger/internal/codegen/validation/
DBindsInstanceProcessingStep.java35 private final Messager messager; field in BindsInstanceProcessingStep
41 Messager messager) { in BindsInstanceProcessingStep() argument
45 this.messager = messager; in BindsInstanceProcessingStep()
57 parameterValidator.validate(MoreElements.asVariable(element)).printMessagesTo(messager); in process()
60 methodValidator.validate(MoreElements.asExecutable(element)).printMessagesTo(messager); in process()
DMonitoringModuleProcessingStep.java34 private final Messager messager; field in MonitoringModuleProcessingStep
39 Messager messager, MonitoringModuleGenerator monitoringModuleGenerator) { in MonitoringModuleProcessingStep() argument
41 this.messager = messager; in MonitoringModuleProcessingStep()
53 monitoringModuleGenerator.generate(MoreElements.asType(element), messager); in process() local
DBindingMethodProcessingStep.java33 private final Messager messager; field in BindingMethodProcessingStep
38 Messager messager, AnyBindingMethodValidator anyBindingMethodValidator) { in BindingMethodProcessingStep() argument
40 this.messager = messager; in BindingMethodProcessingStep()
58 anyBindingMethodValidator.validate(method).printMessagesTo(messager); in process()
DMultibindingAnnotationsProcessingStep.java40 private final Messager messager; field in MultibindingAnnotationsProcessingStep
44 AnyBindingMethodValidator anyBindingMethodValidator, Messager messager) { in MultibindingAnnotationsProcessingStep() argument
47 this.messager = messager; in MultibindingAnnotationsProcessingStep()
61 messager.printMessage( in process()
DDiagnosticReporterFactory.java44 private final Messager messager; field in DiagnosticReporterFactory
49 Messager messager, DiagnosticMessageGenerator.Factory diagnosticMessageGeneratorFactory) { in DiagnosticReporterFactory() argument
50 this.messager = messager; in DiagnosticReporterFactory()
184 messager.printMessage(diagnosticKind, fullMessage.append(message), elementToReport); in printMessage()
DValidationReport.java99 public void printMessagesTo(Messager messager) { in printMessagesTo() argument
109 messager.printMessage( in printMessagesTo()
116 messager.printMessage( in printMessagesTo()
120 messager.printMessage(item.kind(), item.message(), item.element()); in printMessagesTo()
124 messager.printMessage(item.kind(), message, subject); in printMessagesTo()
128 subreport.printMessagesTo(messager); in printMessagesTo()
/external/dagger2/java/dagger/android/processor/
DAndroidInjectorDescriptor.java86 private final Messager messager; field in AndroidInjectorDescriptor.Validator
88 Validator(Messager messager) { in Validator() argument
89 this.messager = messager; in Validator()
97 ErrorReporter reporter = new ErrorReporter(method, messager); in createIfValid()
149 private final Messager messager; field in AndroidInjectorDescriptor.Validator.ErrorReporter
152 ErrorReporter(Element subject, Messager messager) { in ErrorReporter() argument
154 this.messager = messager; in ErrorReporter()
159 messager.printMessage(Kind.ERROR, error, subject); in reportError()
164 messager.printMessage(Kind.ERROR, error, subject, annotation); in reportError()
DAndroidMapKeyValidator.java53 private final Messager messager; field in AndroidMapKeyValidator
55 AndroidMapKeyValidator(Elements elements, Types types, Messager messager) { in AndroidMapKeyValidator() argument
58 this.messager = messager; in AndroidMapKeyValidator()
106 messager.printMessage( in validateMethod()
131 messager.printMessage( in validateReturnType()
161 messager.printMessage( in validateMapKeyMatchesBindsParameter()
DAndroidProcessor.java60 Messager messager = processingEnv.getMessager(); in initSteps() local
65 new AndroidMapKeyValidator(elements, types, messager), in initSteps()
67 new AndroidInjectorDescriptor.Validator(messager), in initSteps()
/external/dagger2/java/dagger/internal/codegen/
DMapKeyProcessingStep.java46 private final Messager messager; field in MapKeyProcessingStep
54 Messager messager, in MapKeyProcessingStep() argument
60 this.messager = messager; in MapKeyProcessingStep()
76 mapKeyReport.printMessagesTo(messager); in process()
81 annotationCreatorGenerator.generate(mapKeyAnnotationType, messager); in process()
83 unwrappedMapKeyGenerator.generate(mapKeyAnnotationType, messager); in process()
DComponentHjarProcessingStep.java55 private final Messager messager; field in ComponentHjarProcessingStep
63 Messager messager, in ComponentHjarProcessingStep() argument
69 this.messager = messager; in ComponentHjarProcessingStep()
98 validationReport.printMessagesTo(messager); in processRootComponent()
101 componentDescriptorFactory.rootComponentDescriptor(element), messager); in processRootComponent() local
106 creatorValidator.validate(asType(creator)).printMessagesTo(messager); in processRootCreator()
DModuleProcessingStep.java60 private final Messager messager; field in ModuleProcessingStep
73 Messager messager, in ModuleProcessingStep() argument
83 this.messager = messager; in ModuleProcessingStep()
122 report.printMessagesTo(messager); in process()
139 inaccessibleMapKeyProxyGenerator.generate(bindsMethodBinding(module, method), messager); in generateForMethodsIn() local
142 moduleConstructorProxyGenerator.generate(module, messager); in generateForMethodsIn()
147 generator.generate(binding, messager); in generate()
148 inaccessibleMapKeyProxyGenerator.generate(binding, messager); in generate()
DComponentProcessingStep.java54 private final Messager messager; field in ComponentProcessingStep
65 Messager messager, in ComponentProcessingStep() argument
74 this.messager = messager; in ComponentProcessingStep()
132 componentGenerator.generate(bindingGraph, messager); in generateComponent()
136 creatorValidator.validate(MoreElements.asType(creator)).printMessagesTo(messager); in processCreator()
141 report.printMessagesTo(messager); in isComponentValid()
158 componentDescriptorReport.printMessagesTo(messager); in isValid()
DAssistedInjectProcessingStep.java44 private final Messager messager; field in AssistedInjectProcessingStep
47 AssistedInjectProcessingStep(DaggerTypes types, Messager messager) { in AssistedInjectProcessingStep() argument
50 this.messager = messager; in AssistedInjectProcessingStep()
62 new AssistedInjectValidator().validate(assistedInjectElement).printMessagesTo(messager); in process()
DAssistedProcessingStep.java51 private final Messager messager; field in AssistedProcessingStep
59 Messager messager) { in AssistedProcessingStep() argument
65 this.messager = messager; in AssistedProcessingStep()
76 new AssistedValidator().validate(assisted).printMessagesTo(messager); in process()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/filer/
DFormattingJavaFileObject.java37 private final Messager messager; field in FormattingJavaFileObject
46 JavaFileObject delegate, Formatter formatter, @Nullable Messager messager) { in FormattingJavaFileObject() argument
49 this.messager = messager; in FormattingJavaFileObject()
87 if (messager != null) { in openWriter()
88 messager.printMessage(Diagnostic.Kind.NOTE, "Error formatting " + getName()); in openWriter()
DFormattingFiler.java38 private final Messager messager; field in FormattingFiler
52 public FormattingFiler(Filer delegate, @Nullable Messager messager) { in FormattingFiler() argument
54 this.messager = messager; in FormattingFiler()
61 delegate.createSourceFile(name, originatingElements), formatter, messager); in createSourceFile()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DErrorReporter.java30 private final Messager messager; field in ErrorReporter
34 this.messager = processingEnv.getMessager(); in ErrorReporter()
46 messager.printMessage(Diagnostic.Kind.NOTE, String.format(format, args), e); in reportNote()
58 messager.printMessage(Diagnostic.Kind.WARNING, String.format(format, args), e); in reportWarning()
73 messager.printMessage(Diagnostic.Kind.ERROR, String.format(format, args), e); in reportError()
/external/turbine/java/com/google/turbine/processing/
DTurbineProcessingEnvironment.java38 private final Messager messager; field in TurbineProcessingEnvironment
45 Messager messager, in TurbineProcessingEnvironment() argument
56 this.messager = messager; in TurbineProcessingEnvironment()
67 return messager; in getMessager()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DProvidedChecker.java31 private final Messager messager; field in ProvidedChecker
33 ProvidedChecker(Messager messager) { in ProvidedChecker() argument
34 this.messager = messager; in ProvidedChecker()
71 messager.printMessage(ERROR, String.format(messageFormat, Provided.class.getSimpleName()), in raiseError()
DAutoFactoryDeclaration.java90 private final Messager messager; field in AutoFactoryDeclaration.Factory
92 Factory(Elements elements, Messager messager) { in Factory() argument
94 this.messager = messager; in Factory()
110 messager.printMessage(ERROR, in createIfValid()
119 messager.printMessage(ERROR, "Unable to find the type: " in createIfValid()
124 messager.printMessage(ERROR, in createIfValid()
140 messager.printMessage(ERROR, in createIfValid()
DAutoFactoryProcessor.java65 private Messager messager; field in AutoFactoryProcessor
74 messager = processingEnv.getMessager(); in init()
75 providedChecker = new ProvidedChecker(messager); in init()
76 declarationFactory = new AutoFactoryDeclaration.Factory(elements, messager); in init()
78 new FactoryDescriptorGenerator(messager, types, declarationFactory); in init()
86 messager.printMessage(Kind.ERROR, "Failed to process @AutoFactory annotations:\n" in process()
150 messager.printMessage(Kind.ERROR, in doProcess()
169 messager.printMessage(Kind.ERROR, "failed: " + e); in doProcess()
DFactoryDescriptorGenerator.java52 private final Messager messager; field in FactoryDescriptorGenerator
57 Messager messager, in FactoryDescriptorGenerator() argument
60 this.messager = messager; in FactoryDescriptorGenerator()
81 messager.printMessage(ERROR, in generateDescriptor()
104 messager.printMessage(ERROR, in generateDescriptor()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/
DServiceLoaderGenerator.java18 private final Messager messager; field in ServiceLoaderGenerator
23 this.messager = environment.getMessager(); in ServiceLoaderGenerator()
37messager.printMessage(Diagnostic.Kind.ERROR, "Failed to write service loader metadata file: " + e); in generate()
/external/dagger2/java/dagger/hilt/processor/internal/
DProcessorErrorHandler.java42 private final Messager messager; field in ProcessorErrorHandler
47 this.messager = env.getMessager(); in ProcessorErrorHandler()
95 messager.printMessage(Kind.ERROR, hiltError.message(), element); in checkErrors()
97 messager.printMessage(Kind.ERROR, hiltError.message()); in checkErrors()

12