Searched refs:interfaceBuilder (Results 1 – 15 of 15) sorted by relevance
83 TypeSpec.Builder interfaceBuilder = in generateCrossProfileTypeInterface() local84 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 …]
91 TypeSpec.Builder interfaceBuilder = in generateMultiInterface() local92 TypeSpec.interfaceBuilder(interfaceName) in generateMultiInterface()98 addMultiMethod(interfaceBuilder, method); in generateMultiInterface()100 generatorUtilities.writeClassToFile(interfaceName.packageName(), interfaceBuilder); in generateMultiInterface() local218 private void addMultiMethod(TypeSpec.Builder interfaceBuilder, ExecutableElement method) { in addMultiMethod() argument220 interfaceBuilder.addMethod( in addMultiMethod()232 interfaceBuilder.addMethod( in addMultiMethod()
20 import static com.squareup.javapoet.TypeSpec.interfaceBuilder;44 interfaceBuilder(grpcServiceModel.serviceDefinitionTypeName.simpleName()) in createType()49 interfaceBuilder(grpcServiceModel.serviceDefinitionTypeFactoryName.simpleName()) in createType()
25 import static com.squareup.javapoet.TypeSpec.interfaceBuilder;176 return interfaceBuilder(subcomponentName) in subcomponent()187 return interfaceBuilder(subcomponentFactoryName) in subcomponentFactory()
242 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() local2344 interfaceBuilder.addInitializerBlock(CodeBlock.builder().build()); in initializerBlockUnsupportedExceptionOnInterface()[all …]
58 TypeSpec.interfaceBuilder(metadata.generatedClassName().simpleName()) in generate()
48 TypeSpec.interfaceBuilder(name.simpleName()) in generate()
156 TypeSpec.interfaceBuilder(moduleName) in subcomponentBuilderModule()183 TypeSpec.interfaceBuilder("Builder") in componentBuilder()
47 TypeSpec.interfaceBuilder(metadata.testInjectorName()) in generate()
74 TypeSpec.interfaceBuilder(Processors.getFullEnclosedName(typeElement)) in generateFile()
162 TypeSpec.interfaceBuilder(partitionName) in createPartitionInterface()
135 public static Builder interfaceBuilder(String name) { in interfaceBuilder() method in TypeSpec139 public static Builder interfaceBuilder(ClassName className) { in interfaceBuilder() method in TypeSpec140 return interfaceBuilder(checkNotNull(className, "className == null").simpleName()); in interfaceBuilder()
29 @Test public void interfaceBuilder() { in interfaceBuilder() method in BuilderTest
632 TypeSpec helloWorld = TypeSpec.interfaceBuilder("HelloWorld")
META-INF/ META-INF/MANIFEST.MF build-data.properties META-INF ...