Home
last modified time | relevance | path

Searched refs:anonymousClassBuilder (Results 1 – 12 of 12) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/writing/
DDependencyMethodProducerCreationExpression.java21 import static com.squareup.javapoet.TypeSpec.anonymousClassBuilder;
85 anonymousClassBuilder("") in creationExpression()
DAssistedFactoryBindingExpression.java91 TypeSpec.anonymousClassBuilder("") in anonymousfactoryImpl()
DOptionalFactories.java25 import static com.squareup.javapoet.TypeSpec.anonymousClassBuilder;
428 anonymousClassBuilder("")
/external/dagger2/java/dagger/internal/codegen/javapoet/
DCodeBlocks.java20 import static com.squareup.javapoet.TypeSpec.anonymousClassBuilder;
102 anonymousClassBuilder("") in anonymousProvider()
/external/dagger2/java/dagger/grpc/server/processor/
DProxyModuleGenerator.java22 import static com.squareup.javapoet.TypeSpec.anonymousClassBuilder;
165 return anonymousClassBuilder("") in anonymousServiceDefinitionFactory()
/external/javapoet/src/test/java/com/squareup/javapoet/
DTypeSpecTest.java126 TypeSpec aSimpleThung = TypeSpec.anonymousClassBuilder(CodeBlock.of("$N", thungParameter)) in anonymousInnerClass()
135 TypeSpec aThingThang = TypeSpec.anonymousClassBuilder("") in anonymousInnerClass()
353 .addEnumConstant("ROCK", TypeSpec.anonymousClassBuilder("") in enumWithSubclassing()
356 .addEnumConstant("PAPER", TypeSpec.anonymousClassBuilder("$S", "flat") in enumWithSubclassing()
364 .addEnumConstant("SCISSORS", TypeSpec.anonymousClassBuilder("$S", "peace sign") in enumWithSubclassing()
412 .addEnumConstant("CORN", TypeSpec.anonymousClassBuilder("") in enumsMayDefineAbstractMethods()
459 .addEnumConstant("SPOCK", TypeSpec.anonymousClassBuilder("") in enumWithMembersButNoConstructorCall()
488 .addEnumConstant("ROCK", TypeSpec.anonymousClassBuilder("") in enumWithAnnotatedValues()
1597 TypeSpec type = TypeSpec.anonymousClassBuilder("") in anonymousClassToString()
1663 TypeSpec prefixComparator = TypeSpec.anonymousClassBuilder("") in multilineStatementWithAnonymousClass()
[all …]
/external/javapoet/src/main/java/com/squareup/javapoet/
DTypeSpec.java151 public static Builder anonymousClassBuilder(String typeArgumentsFormat, Object... args) { in anonymousClassBuilder() method in TypeSpec
152 return anonymousClassBuilder(CodeBlock.of(typeArgumentsFormat, args)); in anonymousClassBuilder()
155 public static Builder anonymousClassBuilder(CodeBlock typeArguments) { in anonymousClassBuilder() method in TypeSpec
581 return addEnumConstant(name, anonymousClassBuilder("").build()); in addEnumConstant()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DApplicationGenerator.java112 return TypeSpec.anonymousClassBuilder("") in creatorType()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DServiceGenerator.java104 TypeSpec.anonymousClassBuilder("") in addBinder()
DGeneratorUtilities.java241 TypeSpec.anonymousClassBuilder("") in addDefaultParcelableMethods()
/external/javapoet/
DREADME.md686 .addEnumConstant("ROCK", TypeSpec.anonymousClassBuilder("$S", "fist")
694 .addEnumConstant("SCISSORS", TypeSpec.anonymousClassBuilder("$S", "peace")
696 .addEnumConstant("PAPER", TypeSpec.anonymousClassBuilder("$S", "flat")
735 TypeSpec comparator = TypeSpec.anonymousClassBuilder("")
770 `TypeSpec.anonymousClassBuilder("")`. To pass different parameters use JavaPoet's code block
DCHANGELOG.md76 * New: `MethodSpec.Builder.addNamedCode()` and `TypeSpec.anonymousClassBuilder(CodeBlock)`.