Home
last modified time | relevance | path

Searched refs:addSuperinterface (Results 1 – 25 of 41) sorted by relevance

12

/external/javapoet/src/main/java/com/squareup/javapoet/
DTypeSpec.java529 addSuperinterface(superinterface); in addSuperinterfaces()
534 public Builder addSuperinterface(TypeName superinterface) { in addSuperinterface() method in TypeSpec.Builder
540 public Builder addSuperinterface(Type superinterface) { in addSuperinterface() method in TypeSpec.Builder
541 return addSuperinterface(superinterface, true); in addSuperinterface()
544 public Builder addSuperinterface(Type superinterface, boolean avoidNestedTypeNameClashes) { in addSuperinterface() method in TypeSpec.Builder
545 addSuperinterface(TypeName.get(superinterface)); in addSuperinterface()
565 public Builder addSuperinterface(TypeMirror superinterface) { in addSuperinterface() method in TypeSpec.Builder
566 return addSuperinterface(superinterface, true); in addSuperinterface()
569 public Builder addSuperinterface(TypeMirror superinterface, in addSuperinterface() method in TypeSpec.Builder
571 addSuperinterface(TypeName.get(superinterface)); in addSuperinterface()
/external/dagger2/java/dagger/hilt/android/processor/internal/customtestapplication/
DCustomTestApplicationGenerator.java55 .addSuperinterface( in generate()
57 .addSuperinterface(ClassNames.TEST_APPLICATION_COMPONENT_MANAGER_HOLDER) in generate()
/external/javapoet/src/test/java/com/squareup/javapoet/
DJavaFileTest.java630 TypeSpec.classBuilder("World").addSuperinterface(ClassName.get("", "Test")).build()) in defaultPackageTypesAreNotImported()
834 .addSuperinterface(FooInterface.class) in avoidClashesWithNestedClasses_viaSuperinterfaceType()
936 childTypeBuilder().addSuperinterface(ParentInterface.class).build()) in avoidClashes_parentChild_superinterface_type()
958 childTypeBuilder().addSuperinterface(getElement(ParentInterface.class).asType()).build()) in avoidClashes_parentChild_superinterface_typeMirror()
1000 .addSuperinterface(Map.class) in avoidClashes_mapEntry()
DTypeSpecTest.java553 .addSuperinterface(ParameterizedTypeName.get(ClassName.get(Comparable.class), p)) in typeVariables()
630 .addSuperinterface(Serializable.class) in classImplementsExtends()
631 .addSuperinterface(ParameterizedTypeName.get(ClassName.get(Comparable.class), taco)) in classImplementsExtends()
670 .addSuperinterface(Serializable.class) in enumImplements()
671 .addSuperinterface(Cloneable.class) in enumImplements()
691 .addSuperinterface(Serializable.class) in interfaceExtends()
692 .addSuperinterface(ParameterizedTypeName.get(ClassName.get(Comparable.class), taco)) in interfaceExtends()
1598 .addSuperinterface(Runnable.class) in anonymousClassToString()
1664 .addSuperinterface(stringComparator) in multilineStatementWithAnonymousClass()
1872 TypeSpec.classBuilder("Taco").addSuperinterface((TypeName) null); in nullSingleSuperinterfaceAddition()
[all …]
DFileReadingTest.java90 .addSuperinterface(ParameterizedTypeName.get(Callable.class, String.class)) in compileJavaFile()
/external/dagger2/java/dagger/internal/codegen/javapoet/
DTypeSpecs.java39 return typeBuilder.addSuperinterface(ClassName.get(supertype)); in addSupertype()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DCurrentProfileGenerator.java85 .addSuperinterface(singleSenderInterface) in generateCurrentProfileClass()
86 .addSuperinterface(singleSenderCanThrowInterface); in generateCurrentProfileClass()
DCrossProfileCallbackCodeGenerator.java124 .addSuperinterface(mergerInterface) in generateMultiMergerResultClass()
170 .addSuperinterface(ClassName.get(callbackInterface.interfaceElement())) in generateMultiMergerInputClass()
251 .addSuperinterface(ClassName.get(callbackInterface.interfaceElement())) in generateReceiverClass()
364 .addSuperinterface(LOCAL_CALLBACK_CLASSNAME); in generateSenderClass()
DFakeProfileConnectorGenerator.java63 .addSuperinterface(connector.connectorClassName()) in generateFakeProfileConnector()
DServiceGenerator.java105 .addSuperinterface(CROSSPROFILESERVICE_STUB_CLASSNAME) in addBinder()
DUserConnectorCodeGenerator.java79 .addSuperinterface(connector.connectorClassName()) in generateUserConnector()
DProtoParcelableWrapperGenerator.java81 .addSuperinterface(PARCELABLE_CLASSNAME) in generateProtoParcelableWrapper()
DProfileConnectorCodeGenerator.java80 .addSuperinterface(connector.connectorClassName()) in generateProfileConnector()
DAlwaysThrowsGenerator.java80 .addSuperinterface(singleSenderCanThrowInterface); in generateAlwaysThrowsClass()
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DPkgPrivateEntryPointGenerator.java62 .addSuperinterface(metadata.baseClassName()) in generate()
/external/dagger2/java/dagger/android/processor/
DContributesAndroidInjectorGenerator.java180 .addSuperinterface(parameterizedTypeName(AndroidInjector.class, descriptor.injectedType())) in subcomponent()
190 .addSuperinterface( in subcomponentFactory()
/external/dagger2/java/dagger/hilt/processor/internal/root/
DTestInjectorGenerator.java56 .addSuperinterface( in generate()
/external/dagger2/java/dagger/grpc/server/processor/
DUnscopedGrpcServiceModuleGenerator.java77 .addSuperinterface(grpcServiceModel.serviceDefinitionTypeFactoryName) in unscopedComponentFactory()
DProxyModuleGenerator.java166 .addSuperinterface(Dagger.GrpcServer.SERVICE_DEFINITION_FACTORY) in anonymousServiceDefinitionFactory()
/external/dagger2/java/dagger/internal/codegen/writing/
DAssistedFactoryBindingExpression.java104 builder.addSuperinterface(TypeName.get(factoryType)); in anonymousfactoryImpl()
DOptionalFactories.java323 spec.superinterface().ifPresent(factoryClassBuilder::addSuperinterface);
429 .addSuperinterface(
DDependencyMethodProviderCreationExpression.java98 .addSuperinterface(providerOf(keyType)) in creationExpression()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DGenerators.java169 .addSuperinterface(ClassNames.GENERATED_COMPONENT_MANAGER_HOLDER) in addComponentOverride()
385 typeSpecBuilder.addSuperinterface(AndroidClassNames.INJECTED_BY_HILT); in addInjectMethod()
DApplicationGenerator.java113 .addSuperinterface(AndroidClassNames.COMPONENT_SUPPLIER) in creatorType()
/external/dagger2/java/dagger/hilt/processor/internal/
DComponentGenerator.java149 builder.addSuperinterface( in addEntryPoints()

12