Searched refs:enclosingType (Results 1 – 5 of 5) sorted by relevance
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | ParameterizedTypeName.java | 32 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()
|
D | TypeName.java | 274 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/ |
D | DependencyRequestFormatter.java | 91 MoreTypes.asMemberOf(types, request.enclosingType(), variable); in format() 98 types.asMemberOf(request.enclosingType(), methodOrConstructor)); in format()
|
D | FactoryGenerator.java | 138 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()
|
D | DependencyRequest.java | 116 abstract DeclaredType enclosingType(); in enclosingType() method in DependencyRequest 180 mapOfValueRequest.enclosingType(), in forImplicitMapBinding()
|