Home
last modified time | relevance | path

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/
DCompilationAbstractTest.java69 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/
DInjectionMethods.java153 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/
DClassName.java236 @Override public ClassName visitType(TypeElement enclosingClass, Void p) { in get() argument
237 return ClassName.get(enclosingClass).nestedClass(simpleName); in get()
DMethodSpec.java207 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/
DModelFactory.java361 static ClassSymbol enclosingClass(Symbol sym) { in enclosingClass() method
366 return enclosingClass(((TyVarSymbol) sym).owner()); in enclosingClass()
DTurbineTypes.java1073 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));
DTurbineMessager.java108 ClassSymbol encl = ModelFactory.enclosingClass(sym); in getSource()
DTurbineElements.java165 return ModelFactory.enclosingClass(sym).owner(); in packageSymbol()