Searched refs:anonymousClassBuilder (Results 1 – 12 of 12) sorted by relevance
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | DependencyMethodProducerCreationExpression.java | 21 import static com.squareup.javapoet.TypeSpec.anonymousClassBuilder; 85 anonymousClassBuilder("") in creationExpression()
|
D | AssistedFactoryBindingExpression.java | 91 TypeSpec.anonymousClassBuilder("") in anonymousfactoryImpl()
|
D | OptionalFactories.java | 25 import static com.squareup.javapoet.TypeSpec.anonymousClassBuilder; 428 anonymousClassBuilder("")
|
/external/dagger2/java/dagger/internal/codegen/javapoet/ |
D | CodeBlocks.java | 20 import static com.squareup.javapoet.TypeSpec.anonymousClassBuilder; 102 anonymousClassBuilder("") in anonymousProvider()
|
/external/dagger2/java/dagger/grpc/server/processor/ |
D | ProxyModuleGenerator.java | 22 import static com.squareup.javapoet.TypeSpec.anonymousClassBuilder; 165 return anonymousClassBuilder("") in anonymousServiceDefinitionFactory()
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | TypeSpecTest.java | 126 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/ |
D | TypeSpec.java | 151 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/ |
D | ApplicationGenerator.java | 112 return TypeSpec.anonymousClassBuilder("") in creatorType()
|
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/ |
D | ServiceGenerator.java | 104 TypeSpec.anonymousClassBuilder("") in addBinder()
|
D | GeneratorUtilities.java | 241 TypeSpec.anonymousClassBuilder("") in addDefaultParcelableMethods()
|
/external/javapoet/ |
D | README.md | 686 .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
|
D | CHANGELOG.md | 76 * New: `MethodSpec.Builder.addNamedCode()` and `TypeSpec.anonymousClassBuilder(CodeBlock)`.
|