Home
last modified time | relevance | path

Searched defs:classBuilder (Results 1 – 22 of 22) sorted by relevance

/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DFakeCrossProfileTypeGenerator.java79 TypeSpec.Builder classBuilder = in generateFakeCrossProfileType() local
198 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateFakeCrossProfileType() local
201 private void addConstructor(TypeSpec.Builder classBuilder) { in addConstructor()
239 private void addPersonalMethod(TypeSpec.Builder classBuilder) { in addPersonalMethod()
269 private void addWorkMethod(TypeSpec.Builder classBuilder) { in addWorkMethod()
309 TypeSpec.Builder classBuilder = in generateFakeCrossProfileTypeBuilder() local
341 ClassName fakeCrossProfileTypeClassName, TypeSpec.Builder classBuilder) { in setupStaticBuilder()
360 TypeSpec.Builder classBuilder) { in setupNonStaticBuilder()
412 private void generatePrimarySecondaryMethods(TypeSpec.Builder classBuilder) { in generatePrimarySecondaryMethods()
418 private void generatePrimaryMethod(TypeSpec.Builder classBuilder) { in generatePrimaryMethod()
[all …]
DDefaultProfileClassGenerator.java89 TypeSpec.Builder classBuilder = in generateDefaultProfileClass() local
228 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateDefaultProfileClass() local
231 private void addCurrentMethod(TypeSpec.Builder classBuilder) { in addCurrentMethod()
254 private void generatePrimarySecondaryMethods(TypeSpec.Builder classBuilder) { in generatePrimarySecondaryMethods()
260 private void generatePrimaryMethod(TypeSpec.Builder classBuilder) { in generatePrimaryMethod()
282 private void generateSecondaryMethod(TypeSpec.Builder classBuilder) { in generateSecondaryMethod()
304 private void generateSuppliersMethod(TypeSpec.Builder classBuilder) { in generateSuppliersMethod()
DServiceGenerator.java74 TypeSpec.Builder classBuilder = in generateServiceClass() local
99 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateServiceClass() local
102 private void addBinder(TypeSpec.Builder classBuilder) { in addBinder()
124 private static void addPrepareCallMethod(TypeSpec.Builder classBuilder) { in addPrepareCallMethod()
140 private static void addCallMethod(TypeSpec.Builder classBuilder) { in addCallMethod()
160 private static void addFetchResponseMethod(TypeSpec.Builder classBuilder) { in addFetchResponseMethod()
DCrossProfileCallbackCodeGenerator.java117 TypeSpec.Builder classBuilder = in generateMultiMergerResultClass() local
153 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateMultiMergerResultClass() local
163 TypeSpec.Builder classBuilder = in generateMultiMergerInputClass() local
215 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateMultiMergerInputClass() local
248 TypeSpec.Builder classBuilder = in generateReceiverClass() local
286 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateReceiverClass() local
290 TypeSpec.Builder classBuilder, in addReceiverMethod()
355 TypeSpec.Builder classBuilder = in generateSenderClass() local
398 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateSenderClass() local
401 private void addSenderCallbackMethod(TypeSpec.Builder classBuilder) { in addSenderCallbackMethod()
[all …]
DInternalCrossProfileClassGenerator.java89 TypeSpec.Builder classBuilder = in generateInternalCrossProfileClass() local
151 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateInternalCrossProfileClass() local
155 TypeSpec.Builder classBuilder, CrossProfileTypeInfo crossProfileType) { in addMethodsField()
171 TypeSpec.Builder classBuilder, CrossProfileTypeInfo crossProfileType) { in addCrossProfileTypeMethods()
186 TypeSpec.Builder classBuilder, CrossProfileMethodInfo method) { in addBlockingCrossProfileTypeMethod()
246 TypeSpec.Builder classBuilder, CrossProfileMethodInfo method) { in addCrossProfileCallbackCrossProfileTypeMethod()
295 TypeSpec.Builder classBuilder, CrossProfileMethodInfo method) { in addFutureCrossProfileTypeMethod()
386 private static void addCallMethod(TypeSpec.Builder classBuilder) { in addCallMethod()
DCurrentProfileGenerator.java75 TypeSpec.Builder classBuilder = in generateCurrentProfileClass() local
125 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateCurrentProfileClass() local
128 private void addCrossProfileConstructor(TypeSpec.Builder classBuilder) { in addCrossProfileConstructor()
155 TypeSpec.Builder classBuilder, in generateMethodOnCurrentProfileClass()
192 TypeSpec.Builder classBuilder, in generateCrossProfileCallbackWithExceptionMethodOnCurrentProfileClass()
DDispatcherGenerator.java79 TypeSpec.Builder classBuilder = in generateDispatcherClass() local
99 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateDispatcherClass() local
102 private static void addPrepareCallMethod(TypeSpec.Builder classBuilder) { in addPrepareCallMethod()
135 private static void addFetchResponseMethod(TypeSpec.Builder classBuilder) { in addFetchResponseMethod()
157 private void addCallMethod(TypeSpec.Builder classBuilder) { in addCallMethod()
DFakeOtherGenerator.java82 TypeSpec.Builder classBuilder = in generateFakeOther() local
134 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateFakeOther() local
137 private void addConstructor(TypeSpec.Builder classBuilder) { in addConstructor()
171 TypeSpec.Builder classBuilder, in generateBlockingMethodOnFakeOther()
230 TypeSpec.Builder classBuilder, in generateCrossProfileCallbackMethodOnFakeOther()
276 TypeSpec.Builder classBuilder, in generateFutureMethodOnFakeOther()
DAlwaysThrowsGenerator.java73 TypeSpec.Builder classBuilder = in generateAlwaysThrowsClass() local
131 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateAlwaysThrowsClass() local
135 TypeSpec.Builder classBuilder, in generateBlockingMethodOnAlwaysThrowsClass()
156 TypeSpec.Builder classBuilder, in generateCrossProfileCallbackMethodOnAlwaysThrowsClass()
178 TypeSpec.Builder classBuilder, in generateFutureMethodOnAlwaysThrowsClass()
DBundlerGenerator.java73 TypeSpec.Builder classBuilder = in generateBundlerClass() local
94 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateBundlerClass() local
97 private void makeParcelable(TypeSpec.Builder classBuilder, ClassName bundlerClassName) { in makeParcelable()
110 private void addWriteToParcelMethod(TypeSpec.Builder classBuilder) { in addWriteToParcelMethod()
165 private void addReadFromParcelMethod(TypeSpec.Builder classBuilder) { in addReadFromParcelMethod()
220 private void addCreateArrayMethod(TypeSpec.Builder classBuilder) { in addCreateArrayMethod()
DOtherProfileGenerator.java80 TypeSpec.Builder classBuilder = in generateOtherProfileClass() local
153 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateOtherProfileClass() local
157 TypeSpec.Builder classBuilder, in generateBlockingMethodOnOtherProfileClass()
238 TypeSpec.Builder classBuilder, in generateCrossProfileCallbackMethodOnOtherProfileClass()
308 TypeSpec.Builder classBuilder, in generateFutureMethodOnOtherProfileClass()
DInternalProviderClassGenerator.java67 TypeSpec.Builder classBuilder = in generateInternalProviderClassClass() local
132 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateInternalProviderClassClass() local
135 private void addCallMethod(TypeSpec.Builder classBuilder) { in addCallMethod()
DMultipleProfilesGenerator.java87 TypeSpec.Builder classBuilder = in generateMultipleProfilesClass() local
140 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateMultipleProfilesClass() local
144 TypeSpec.Builder classBuilder, in generateBlockingMethodOnMultipleProfilesClass()
217 TypeSpec.Builder classBuilder, in generateCrossProfileCallbackMethodOnMultipleProfilesClass()
295 TypeSpec.Builder classBuilder, in generateFutureMethodOnMultipleProfilesClass()
DIfAvailableGenerator.java72 TypeSpec.Builder classBuilder = in generateIfAvailableClass() local
96 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateIfAvailableClass() local
100 TypeSpec.Builder classBuilder, in generateMethodOnIfAvailableClass()
DUserConnectorCodeGenerator.java71 TypeSpec.Builder classBuilder = in generateUserConnector() local
100 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateUserConnector() local
108 TypeSpec.Builder classBuilder = in generateUserConnectorBuilder() local
DProfileConnectorCodeGenerator.java72 TypeSpec.Builder classBuilder = in generateProfileConnector() local
101 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateProfileConnector() local
110 TypeSpec.Builder classBuilder = in generateProfileConnectorBuilder() local
DFakeProfileConnectorGenerator.java54 TypeSpec.Builder classBuilder = in generateFakeProfileConnector() local
92 generatorUtilities.writeClassToFile(className.packageName(), classBuilder); in generateFakeProfileConnector() local
DProtoParcelableWrapperGenerator.java78 TypeSpec.Builder classBuilder = in generateProtoParcelableWrapper() local
164 parcelableWrapper.wrapperClassName().packageName(), classBuilder); in generateProtoParcelableWrapper() local
DGeneratorUtilities.java229 void addDefaultParcelableMethods(TypeSpec.Builder classBuilder, ClassName className) { in addDefaultParcelableMethods()
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentCreatorImplementationFactory.java110 final TypeSpec.Builder classBuilder; field in ComponentCreatorImplementationFactory.Builder
/external/javapoet/src/main/java/com/squareup/javapoet/
DTypeSpec.java127 public static Builder classBuilder(String name) { in classBuilder() method in TypeSpec
131 public static Builder classBuilder(ClassName className) { in classBuilder() method in TypeSpec
/external/desugar/java/com/google/devtools/build/android/desugar/
DCoreLibrarySupport.java83 ImmutableSet.Builder<Class<?>> classBuilder = ImmutableSet.builder(); in CoreLibrarySupport() local