Home
last modified time | relevance | path

Searched refs:enclosingType (Results 1 – 5 of 5) sorted by relevance

/external/javapoet/src/main/java/com/squareup/javapoet/
DParameterizedTypeName.java32 private final ParameterizedTypeName enclosingType; field in ParameterizedTypeName
36 ParameterizedTypeName(ParameterizedTypeName enclosingType, ClassName rawType, in ParameterizedTypeName() argument
38 this(enclosingType, rawType, typeArguments, new ArrayList<>()); in ParameterizedTypeName()
41 private ParameterizedTypeName(ParameterizedTypeName enclosingType, ClassName rawType, in ParameterizedTypeName() argument
45 this.enclosingType = enclosingType; in ParameterizedTypeName()
48 checkArgument(!this.typeArguments.isEmpty() || enclosingType != null, in ParameterizedTypeName()
58 enclosingType, rawType, typeArguments, concatAnnotations(annotations)); in annotated()
64 enclosingType, rawType.withoutAnnotations(), typeArguments, new ArrayList<>()); in withoutAnnotations()
68 if (enclosingType != null) { in emit()
69 enclosingType.emit(out); in emit()
DTypeName.java274 TypeMirror enclosingType = t.getEnclosingType(); in get() local
276 (enclosingType.getKind() != TypeKind.NONE) in get()
278 ? enclosingType.accept(this, null) in get()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DDependencyRequestFormatter.java91 MoreTypes.asMemberOf(types, request.enclosingType(), variable); in format()
98 types.asMemberOf(request.enclosingType(), methodOrConstructor)); in format()
DFactoryGenerator.java138 TypeName enclosingType = TypeNames.forTypeMirror(binding.bindingTypeElement().asType()); in write() local
139 factoryWriter.addField(enclosingType, "module").addModifiers(PRIVATE, FINAL); in write()
140 constructorWriter.get().addParameter(enclosingType, "module"); in write()
DDependencyRequest.java116 abstract DeclaredType enclosingType(); in enclosingType() method in DependencyRequest
180 mapOfValueRequest.enclosingType(), in forImplicitMapBinding()