Home
last modified time | relevance | path

Searched refs:processingEnvironment (Results 1 – 14 of 14) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/
DProcessingEnvironmentModule.java47 static Map<String, String> processingOptions(ProcessingEnvironment processingEnvironment) { in processingOptions() argument
48 return processingEnvironment.getOptions(); in processingOptions()
52 static Messager messager(ProcessingEnvironment processingEnvironment) { in messager() argument
53 return processingEnvironment.getMessager(); in messager()
57 static Filer filer(CompilerOptions compilerOptions, ProcessingEnvironment processingEnvironment) { in filer() argument
59 return processingEnvironment.getFiler(); in filer()
61 return new FormattingFiler(processingEnvironment.getFiler()); in filer()
66 static Types types(ProcessingEnvironment processingEnvironment) { in types() argument
67 return processingEnvironment.getTypeUtils(); in types()
71 static SourceVersion sourceVersion(ProcessingEnvironment processingEnvironment) { in sourceVersion() argument
[all …]
/external/auto/value/src/main/java/com/google/auto/value/processor/
DExtensionContext.java33 private final ProcessingEnvironment processingEnvironment; field in ExtensionContext
41 ProcessingEnvironment processingEnvironment, in ExtensionContext() argument
46 this.processingEnvironment = processingEnvironment; in ExtensionContext()
59 public ProcessingEnvironment processingEnvironment() { in processingEnvironment() method in ExtensionContext
60 return processingEnvironment; in processingEnvironment()
/external/dagger2/java/dagger/internal/codegen/compileroption/
DProcessingEnvironmentCompilerOptions.java77 private final ProcessingEnvironment processingEnvironment; field in ProcessingEnvironmentCompilerOptions
85 ProcessingEnvironment processingEnvironment, DaggerElements daggerElements) { in ProcessingEnvironmentCompilerOptions() argument
86 this.processingEnvironment = processingEnvironment; in ProcessingEnvironmentCompilerOptions()
93 return processingEnvironment.getElementUtils().getTypeElement(Produces.class.getCanonicalName()) in usesProducers()
184 if (processingEnvironment.getOptions().containsKey(KEYS_PER_COMPONENT_SHARD)) { in keysPerComponentShard()
190 processingEnvironment.getOptions().get(KEYS_PER_COMPONENT_SHARD)); in keysPerComponentShard()
196 return processingEnvironment.getOptions().containsKey(keyOnlyOption.toString()); in isEnabled()
226 if (processingEnvironment.getOptions().containsKey(commandLineOption.toString())) { in noLongerRecognized()
227 processingEnvironment in noLongerRecognized()
461 processingEnvironment in reportUseOfDifferentNamesForOption()
[all …]
/external/dagger2/java/dagger/hilt/processor/internal/aliasof/
DAliasOfs.java45 private final ProcessingEnvironment processingEnvironment; field in AliasOfs
51 ProcessingEnvironment processingEnvironment, ImmutableSet<ClassName> defineComponentScopes) { in AliasOfs() argument
53 this.processingEnvironment = processingEnvironment; in AliasOfs()
61 Elements elements = processingEnvironment.getElementUtils(); in getAliases()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/containers/
DValidatorCrossProfileConfigurationInfo.java46 ProcessingEnvironment processingEnvironment, TypeElement annotatedElement) { in createMultipleFromElement() argument
50 processingEnvironment.getTypeUtils(), in createMultipleFromElement()
51 processingEnvironment.getElementUtils()) in createMultipleFromElement()
57 configurations.add(createFromElement(processingEnvironment, annotatedElement)); in createMultipleFromElement()
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/processor/
DSerializableAutoValueExtension.java72 public IncrementalExtensionType incrementalType(ProcessingEnvironment processingEnvironment) { in incrementalType() argument
126 context.processingEnvironment().getElementUtils(), in generate()
127 context.processingEnvironment().getSourceVersion(), in generate()
184 SerializerFactoryLoader.getFactory(context.processingEnvironment()); in buildSerializersMap()
304 .processingEnvironment() in hasSerializableInterface()
310 .processingEnvironment() in hasSerializableInterface()
/external/dagger2/java/dagger/hilt/processor/internal/
DBaseProcessor.java138 public synchronized void init(ProcessingEnvironment processingEnvironment) { in init() argument
139 super.init(processingEnvironment); in init()
143 this.errorHandler = new ProcessorErrorHandler(processingEnvironment); in init()
/external/auto/value/src/main/java/com/google/auto/value/extension/
DAutoValueExtension.java85 ProcessingEnvironment processingEnvironment(); in processingEnvironment() method
337 public IncrementalExtensionType incrementalType(ProcessingEnvironment processingEnvironment) { in incrementalType() argument
/external/dagger2/java/dagger/hilt/processor/internal/root/
DRootProcessor.java61 public synchronized void init(ProcessingEnvironment processingEnvironment) { in init() argument
62 super.init(processingEnvironment); in init()
63 generatesRootInputs = new GeneratesRootInputs(processingEnvironment); in init()
/external/dagger2/java/dagger/hilt/processor/internal/generatesrootinput/
DGeneratesRootInputs.java49 public GeneratesRootInputs(ProcessingEnvironment processingEnvironment) { in GeneratesRootInputs() argument
50 this.elements = processingEnvironment.getElementUtils(); in GeneratesRootInputs()
/external/auto/value/src/main/java/com/google/auto/value/extension/memoized/processor/
DMemoizeExtension.java113 public IncrementalExtensionType incrementalType(ProcessingEnvironment processingEnvironment) { in incrementalType() argument
155 this.elements = context.processingEnvironment().getElementUtils(); in Generator()
156 this.types = context.processingEnvironment().getTypeUtils(); in Generator()
157 this.sourceVersion = context.processingEnvironment().getSourceVersion(); in Generator()
158 this.messager = context.processingEnvironment().getMessager(); in Generator()
/external/auto/value/src/test/java/com/google/auto/value/processor/
DIncrementalExtensionTest.java98 public IncrementalExtensionType incrementalType(ProcessingEnvironment processingEnvironment) { in incrementalType() argument
DExtensionTest.java330 Elements elementUtils = context.processingEnvironment().getElementUtils(); in testCantConsumeNonExistentMethod()
862 Filer filer = context.processingEnvironment().getFiler(); in generateClass()
872 .processingEnvironment() in generateClass()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DProcessor.java346 ProcessingEnvironment processingEnvironment, in findAllCrossProfileMethods() argument
357 .map(m -> ValidatorProviderClassInfo.create(processingEnvironment, m)) in findAllCrossProfileMethods()