Home
last modified time | relevance | path

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

/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DInterfaceGenerator.java83 TypeSpec.Builder interfaceBuilder = in generateCrossProfileTypeInterface() local
84 TypeSpec.interfaceBuilder(interfaceName) in generateCrossProfileTypeInterface()
95 interfaceBuilder.addMethod( in generateCrossProfileTypeInterface()
106 interfaceBuilder.addMethod( in generateCrossProfileTypeInterface()
113 interfaceBuilder.addMethod( in generateCrossProfileTypeInterface()
120 interfaceBuilder.addMethod( in generateCrossProfileTypeInterface()
127 interfaceBuilder.addMethod( in generateCrossProfileTypeInterface()
134 interfaceBuilder.addMethod( in generateCrossProfileTypeInterface()
142 interfaceBuilder.addMethod( in generateCrossProfileTypeInterface()
157 interfaceBuilder.addMethod( in generateCrossProfileTypeInterface()
[all …]
DCrossProfileCallbackCodeGenerator.java91 TypeSpec.Builder interfaceBuilder = in generateMultiInterface() local
92 TypeSpec.interfaceBuilder(interfaceName) in generateMultiInterface()
98 addMultiMethod(interfaceBuilder, method); in generateMultiInterface()
100 generatorUtilities.writeClassToFile(interfaceName.packageName(), interfaceBuilder); in generateMultiInterface() local
218 private void addMultiMethod(TypeSpec.Builder interfaceBuilder, ExecutableElement method) { in addMultiMethod() argument
220 interfaceBuilder.addMethod( in addMultiMethod()
232 interfaceBuilder.addMethod( in addMultiMethod()
/external/dagger2/java/dagger/grpc/server/processor/
DServiceDefinitionTypeGenerator.java20 import static com.squareup.javapoet.TypeSpec.interfaceBuilder;
44 interfaceBuilder(grpcServiceModel.serviceDefinitionTypeName.simpleName()) in createType()
49 interfaceBuilder(grpcServiceModel.serviceDefinitionTypeFactoryName.simpleName()) in createType()
/external/dagger2/java/dagger/android/processor/
DContributesAndroidInjectorGenerator.java25 import static com.squareup.javapoet.TypeSpec.interfaceBuilder;
176 return interfaceBuilder(subcomponentName) in subcomponent()
187 return interfaceBuilder(subcomponentFactoryName) in subcomponentFactory()
/external/javapoet/src/test/java/com/squareup/javapoet/
DTypeSpecTest.java242 TypeSpec service = TypeSpec.interfaceBuilder("Service") in retrofitStyleInterface()
690 TypeSpec typeSpec = TypeSpec.interfaceBuilder("Taco") in interfaceExtends()
867 TypeSpec bar = TypeSpec.interfaceBuilder("Tacos") in interfaceStaticMethods()
888 TypeSpec bar = TypeSpec.interfaceBuilder("Tacos") in interfaceDefaultMethods()
1363 TypeSpec taco = TypeSpec.interfaceBuilder("Taco") in defaultModifiersForInterfaceMembers()
1395 .addType(TypeSpec.interfaceBuilder("Tortilla") in defaultModifiersForMemberInterfacesAndEnums()
1613 TypeSpec type = TypeSpec.interfaceBuilder("Taco") in interfaceClassToString()
2162 TypeSpec.interfaceBuilder("I").superclass(ClassName.get(Object.class)); in superClassOnlyValidForClasses()
2342 TypeSpec.Builder interfaceBuilder = TypeSpec.interfaceBuilder("Taco"); in initializerBlockUnsupportedExceptionOnInterface() local
2344 interfaceBuilder.addInitializerBlock(CodeBlock.builder().build()); in initializerBlockUnsupportedExceptionOnInterface()
[all …]
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DPkgPrivateEntryPointGenerator.java58 TypeSpec.interfaceBuilder(metadata.generatedClassName().simpleName()) in generate()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DInjectorEntryPointGenerator.java48 TypeSpec.interfaceBuilder(name.simpleName()) in generate()
/external/dagger2/java/dagger/hilt/processor/internal/root/
DRootGenerator.java156 TypeSpec.interfaceBuilder(moduleName) in subcomponentBuilderModule()
183 TypeSpec.interfaceBuilder("Builder") in componentBuilder()
DTestInjectorGenerator.java47 TypeSpec.interfaceBuilder(metadata.testInjectorName()) in generate()
/external/dagger2/java/dagger/hilt/processor/internal/definecomponent/
DDefineComponentProcessor.java74 TypeSpec.interfaceBuilder(Processors.getFullEnclosedName(typeElement)) in generateFile()
/external/dagger2/java/dagger/hilt/processor/internal/
DComponentGenerator.java162 TypeSpec.interfaceBuilder(partitionName) in createPartitionInterface()
/external/javapoet/src/main/java/com/squareup/javapoet/
DTypeSpec.java135 public static Builder interfaceBuilder(String name) { in interfaceBuilder() method in TypeSpec
139 public static Builder interfaceBuilder(ClassName className) { in interfaceBuilder() method in TypeSpec
140 return interfaceBuilder(checkNotNull(className, "className == null").simpleName()); in interfaceBuilder()
/external/dagger2/javatests/dagger/functional/builder/
DBuilderTest.java29 @Test public void interfaceBuilder() { in interfaceBuilder() method in BuilderTest
/external/javapoet/
DREADME.md632 TypeSpec helloWorld = TypeSpec.interfaceBuilder("HelloWorld")