Home
last modified time | relevance | path

Searched refs:generatedClassName (Results 1 – 20 of 20) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/base/
DSourceFileGenerationException.java38 Optional<ClassName> generatedClassName, Throwable cause, Element associatedElement) { in SourceFileGenerationException() argument
39 super(createMessage(generatedClassName, cause.getMessage()), cause); in SourceFileGenerationException()
43 private static String createMessage(Optional<ClassName> generatedClassName, String message) { in createMessage() argument
45 generatedClassName.isPresent() in createMessage()
46 ? generatedClassName.get() in createMessage()
/external/dagger2/javatests/dagger/internal/codegen/
DGeneratingProcessor.java32 private final String generatedClassName; field in GeneratingProcessor
36 GeneratingProcessor(String generatedClassName, String... source) { in GeneratingProcessor() argument
37 this.generatedClassName = generatedClassName; in GeneratingProcessor()
56 processingEnv.getFiler().createSourceFile(generatedClassName).openWriter()) { in process()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DActivityGenerator.java36 private final ClassName generatedClassName; field in ActivityGenerator
42 generatedClassName = metadata.generatedClassName(); in ActivityGenerator()
51 TypeSpec.classBuilder(generatedClassName.simpleName()) in generate()
77 JavaFile.builder(generatedClassName.packageName(), builder.build()) in generate()
DServiceGenerator.java39 private final ClassName generatedClassName; field in ServiceGenerator
45 generatedClassName = metadata.generatedClassName(); in ServiceGenerator()
54 TypeSpec.classBuilder(generatedClassName.simpleName()) in generate()
73 JavaFile.builder(generatedClassName.packageName(), builder.build()) in generate()
DAndroidEntryPointMetadata.java65 public abstract ClassName generatedClassName(); in generatedClassName() method in AndroidEntryPointMetadata
160 private static ClassName generatedClassName(TypeElement element) { in generatedClassName() method in AndroidEntryPointMetadata
191 ClassName generatedClassName, in manuallyConstruct() argument
201 generatedClassName, in manuallyConstruct()
246 final ClassName generatedClassName; in of() local
267 generatedClassName = generatedClassName(androidEntryPointElement); in of()
284 generatedClassName = generatedClassName(androidEntryPointElement); in of()
286 extendsName.contentEquals(generatedClassName.simpleName()), in of()
290 generatedClassName.simpleName(), in of()
301 generatedClassName, in of()
[all …]
DFragmentGenerator.java41 private final ClassName generatedClassName; field in FragmentGenerator
48 generatedClassName = metadata.generatedClassName(); in FragmentGenerator()
52 JavaFile.builder(generatedClassName.packageName(), createTypeSpec()) in generate()
63 TypeSpec.classBuilder(generatedClassName.simpleName()) in createTypeSpec()
DBroadcastReceiverGenerator.java49 private final ClassName generatedClassName; field in BroadcastReceiverGenerator
56 generatedClassName = metadata.generatedClassName(); in BroadcastReceiverGenerator()
65 TypeSpec.classBuilder(generatedClassName.simpleName()) in generate()
96 JavaFile.builder(generatedClassName.packageName(), in generate()
DViewGenerator.java44 private final ClassName generatedClassName; field in ViewGenerator
50 generatedClassName = metadata.generatedClassName(); in ViewGenerator()
65 TypeSpec.classBuilder(generatedClassName.simpleName()) in generate()
86 JavaFile.builder(generatedClassName.packageName(), builder.build()) in generate()
DApplicationGenerator.java45 wrapperClassName = metadata.generatedClassName(); in ApplicationGenerator()
154 .add("// $T extends $T\n", metadata.elementClassName(), metadata.generatedClassName()) in injectCodeBlock()
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DPkgPrivateEntryPointGenerator.java58 TypeSpec.interfaceBuilder(metadata.generatedClassName().simpleName()) in generate()
73 metadata.generatedClassName().packageName(), entryPointInterfaceBuilder.build()) in generate()
DPkgPrivateModuleGenerator.java55 TypeSpec.classBuilder(metadata.generatedClassName().simpleName()) in generate()
69 JavaFile.builder(metadata.generatedClassName().packageName(), builder.build()) in generate()
DPkgPrivateMetadata.java57 final ClassName generatedClassName() { in generatedClassName() method in PkgPrivateMetadata
DComponentDependencies.java299 .map(metadata -> elements.getTypeElement(metadata.generatedClassName().toString())) in getPublicDependency()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DAutoAnnotationProcessor.java163 String generatedClassName = generatedClassName(method); in processMethod() local
168 vars.className = generatedClassName; in processMethod()
184 String fullName = fullyQualifiedName(pkg, generatedClassName); in processMethod()
254 generatedClassName(method)); in methodsAreOverloaded()
263 private String generatedClassName(ExecutableElement method) { in generatedClassName() method in AutoAnnotationProcessor
DAutoOneOfProcessor.java112 String subclass = generatedClassName(autoOneOfType, "AutoOneOf_"); in processType()
DAutoValueProcessor.java162 return generatedClassName(type, Strings.repeat("$", depth) + "AutoValue_"); in generatedSubclassName()
DAutoValueOrOneOfProcessor.java454 static String generatedClassName(TypeElement type, String prefix) { in generatedClassName() method in AutoValueOrOneOfProcessor
/external/auto/common/src/test/java/com/google/auto/common/
DBasicAnnotationProcessorTest.java532 private static void generateClass(Filer filer, String generatedClassName) {
535 writer = new PrintWriter(filer.createSourceFile("test." + generatedClassName).openWriter());
537 writer.println("public class " + generatedClassName + " {}");
/external/auto/value/src/test/java/com/google/auto/value/processor/
DAutoValueCompilationTest.java2830 String generatedClassName = className + "Foo"; in generateFoo() local
2832 processingEnv.getFiler().createSourceFile(pkg + "." + generatedClassName, type); in generateFoo()
2835 writer.println("public class " + generatedClassName + " {}"); in generateFoo()
/external/dagger2/java/dagger/internal/codegen/bootstrap/
Dbootstrap_compiler_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties META-INF ...