Searched refs:enclosingType (Results 1 – 6 of 6) 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/java/dagger/internal/codegen/writing/ |
D | InjectionMethods.java | 187 TypeElement enclosingType = MoreElements.asType(constructor.getEnclosingElement()); in constructorProxy() local 192 .returns(TypeName.get(enclosingType.asType())); in constructorProxy() 194 copyTypeParameters(builder, enclosingType); in constructorProxy() 199 return builder.addStatement("return new $T($L)", enclosingType, arguments).build(); in constructorProxy() 443 TypeElement enclosingType = asType(method.getEnclosingElement()); in methodProxy() local 444 boolean isMethodInKotlinObject = metadataUtil.isObjectClass(enclosingType); in methodProxy() 445 boolean isMethodInKotlinCompanionObject = metadataUtil.isCompanionObjectClass(enclosingType); in methodProxy() 449 instance = CodeBlock.of("$T", rawTypeName(TypeName.get(enclosingType.asType()))); in methodProxy() 453 instance = CodeBlock.of("$T.INSTANCE", rawTypeName(TypeName.get(enclosingType.asType()))); in methodProxy() 455 copyTypeParameters(builder, enclosingType); in methodProxy() [all …]
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | BindsInstanceMethodValidator.java | 60 TypeElement enclosingType = MoreElements.asType(element.getEnclosingElement()); in checkAdditionalProperties() local 61 moduleAnnotation(enclosingType) in checkAdditionalProperties() 63 anyComponentAnnotation(enclosingType) in checkAdditionalProperties()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | InjectionSiteFactory.java | 114 TypeElement enclosingType = MoreElements.asType(method.getEnclosingElement()); in visitExecutableAsMethod() local 116 if (method != subclassMethod && elements.overrides(subclassMethod, method, enclosingType)) { in visitExecutableAsMethod()
|
/external/auto/common/src/main/java/com/google/auto/common/ |
D | MoreTypes.java | 201 && equal(enclosingType(a), enclosingType(b), newVisiting) in visitDeclared() 321 private static TypeMirror enclosingType(DeclaredType t) { in enclosingType() method in MoreTypes
|