Home
last modified time | relevance | path

Searched refs:nestedClass (Results 1 – 22 of 22) sorted by relevance

/external/javapoet/src/main/java/com/squareup/javapoet/
DParameterizedTypeName.java96 public ParameterizedTypeName nestedClass(String name) { in nestedClass() method in ParameterizedTypeName
98 return new ParameterizedTypeName(this, rawType.nestedClass(name), new ArrayList<>(), in nestedClass()
106 public ParameterizedTypeName nestedClass(String name, List<TypeName> typeArguments) { in nestedClass() method in ParameterizedTypeName
108 return new ParameterizedTypeName(this, rawType.nestedClass(name), typeArguments, in nestedClass()
135 ? get(ownerType, map).nestedClass(rawType.simpleName(), typeArguments) in get()
DClassName.java145 public ClassName nestedClass(String name) { in nestedClass() method in ClassName
183 return ClassName.get(clazz.getEnclosingClass()).nestedClass(name); in get()
221 className = className.nestedClass(name); in get()
237 return ClassName.get(enclosingClass).nestedClass(simpleName); in get()
DCodeWriter.java460 className = className.nestedClass(typeSpecStack.get(i).name); in stackClassName()
462 return className.nestedClass(simpleName); in stackClassName()
DTypeName.java289 ? ((ParameterizedTypeName) enclosing).nestedClass( in get()
/external/javapoet/src/test/java/com/squareup/javapoet/
DAnnotatedTypeNameTest.java130 .nestedClass("Entry").annotated(TYPE_USE_ANNOTATION); in annotatedEnclosingAndNestedType()
144 .nestedClass("Entry").annotated(TYPE_USE_ANNOTATION); in withoutAnnotationsOnAnnotatedEnclosingAndNestedType()
151 .nestedClass("Entry"); in withoutAnnotationsOnAnnotatedEnclosingType()
158 .nestedClass("Entry").annotated(TYPE_USE_ANNOTATION); in withoutAnnotationsOnAnnotatedNestedType()
DClassNameTest.java95 ClassName bar = foo.nestedClass("Bar"); in createNestedClass()
97 ClassName baz = bar.nestedClass("Baz"); in createNestedClass()
DTypeSpecTest.java647 ClassName inner = outer.nestedClass("Inner"); in classImplementsNestedClass()
/external/dagger2/java/dagger/hilt/processor/internal/
DComponentNames.java36 return generatedComponentsWrapper(root).nestedClass(componentName(component)); in generatedComponent()
/external/dagger2/java/dagger/grpc/server/processor/
DGrpcServiceModel.java70 this.serviceDefinitionTypeFactoryName = serviceDefinitionTypeName.nestedClass("Factory"); in GrpcServiceModel()
148 ClassName serviceImplBaseName = serviceClassName.nestedClass(simpleServiceName() + "ImplBase");
DSourceGenerator.java80 PROXY_SERVER_CALL_HANDLER.nestedClass("ServiceDefinitionFactory");
DUnscopedGrpcServiceModuleGenerator.java50 grpcServiceModel.unscopedServiceModuleName.nestedClass( in createType()
/external/dagger2/java/dagger/internal/codegen/writing/
DAnonymousProviderCreationExpression.java57 requestingClass.nestedClass("Anonymous")); in creationExpression()
DComponentImplementation.java214 ClassName shardName = name.nestedClass("Shard" + shardsByKey.size() / keysPerShard); in shardImplementation()
269 : name.nestedClass(creatorKind().typeName()); in getCreatorName()
279 return name.nestedClass(subcomponentNames.get(childDescriptor) + "Impl"); in getSubcomponentName()
DDependencyMethodProducerCreationExpression.java79 componentImplementation.name().nestedClass("Anonymous"))) in creationExpression()
DDependencyMethodProviderCreationExpression.java120 return componentImplementation.name().nestedClass(factoryName); in factoryClassName()
DSwitchingProviders.java126 new SwitchingProviderBuilder(owningComponent.nestedClass(name)); in getSwitchingProviderBuilder()
DFactoryGenerator.java206 ClassName instanceHolderName = nameGeneratedType(binding).nestedClass("InstanceHolder"); in addCreateMethod()
/external/dagger2/java/dagger/android/processor/
DContributesAndroidInjectorGenerator.java114 ClassName subcomponentName = moduleName.nestedClass(baseName + "Subcomponent"); in generate()
115 ClassName subcomponentFactoryName = subcomponentName.nestedClass("Factory"); in generate()
/external/dagger2/java/dagger/hilt/processor/internal/root/
DRootGenerator.java169 .addParameter(componentName.nestedClass("Builder"), "builder") in subcomponentBuilderModule()
209 return getComponentsWrapperClassName().nestedClass("PartialRootModule"); in getPartialRootModuleClassName()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/validator/
DJava1_2ValidatorTest.java41 void nestedClass() { in nestedClass() method in Java1_2ValidatorTest
DJava1_1ValidatorTest.java44 void nestedClass() { in nestedClass() method in Java1_1ValidatorTest
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentHjarGenerator.java134 ClassName builderClassName = generatedTypeName.nestedClass("Builder"); in write()