Searched refs:enclosingClass (Results 1 – 8 of 8) sorted by relevance
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/serializer/utils/ |
D | CompilationAbstractTest.java | 69 protected DeclaredType declaredTypeOf(Class<?> enclosingClass, Class<?> containedClass) { in declaredTypeOf() argument 70 return typeUtils.getDeclaredType(typeElementOf(enclosingClass), typeMirrorOf(containedClass)); in declaredTypeOf() 73 protected DeclaredType declaredTypeOf(Class<?> enclosingClass, Class<?>... classArgs) { in declaredTypeOf() argument 75 typeElementOf(enclosingClass), in declaredTypeOf()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | InjectionMethods.java | 153 ClassName enclosingClass = generatedClassNameForBinding(binding); in invoke() local 155 return invokeMethod(methodSpec, arguments.build(), enclosingClass, requestingClass); in invoke() 344 ClassName enclosingClass = in invoke() local 347 return invokeMethod(methodSpec, arguments.build(), enclosingClass, generatedTypeName); in invoke() 503 ClassName enclosingClass, in invokeMethod() argument 507 return enclosingClass.equals(requestingClass) in invokeMethod() 509 : CodeBlock.of("$T.$L($L)", enclosingClass, methodSpec.name, parameterBlock); in invokeMethod()
|
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | ClassName.java | 236 @Override public ClassName visitType(TypeElement enclosingClass, Void p) { in get() argument 237 return ClassName.get(enclosingClass).nestedClass(simpleName); in get()
|
D | MethodSpec.java | 207 Element enclosingClass = method.getEnclosingElement(); in overriding() local 208 if (enclosingClass.getModifiers().contains(Modifier.FINAL)) { in overriding() 209 throw new IllegalArgumentException("Cannot override method on final class " + enclosingClass); in overriding()
|
/external/turbine/java/com/google/turbine/processing/ |
D | ModelFactory.java | 361 static ClassSymbol enclosingClass(Symbol sym) { in enclosingClass() method 366 return enclosingClass(((TyVarSymbol) sym).owner()); in enclosingClass()
|
D | TurbineTypes.java | 1073 private static ClassSymbol enclosingClass(Symbol symbol) { 1078 return enclosingClass(((TyVarSymbol) symbol).owner()); 1116 ClassSymbol symbol = enclosingClass(((TurbineElement) element).sym()); 1117 ImmutableList<ClassTy> path = factory.cha().search(c, enclosingClass(symbol));
|
D | TurbineMessager.java | 108 ClassSymbol encl = ModelFactory.enclosingClass(sym); in getSource()
|
D | TurbineElements.java | 165 return ModelFactory.enclosingClass(sym).owner(); in packageSymbol()
|