Home
last modified time | relevance | path

Searched refs:enclosingElement (Results 1 – 4 of 4) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/
DInjectValidator.java135 TypeElement enclosingElement = in validateConstructor() local
138 Set<Modifier> typeModifiers = enclosingElement.getModifiers(); in validateConstructor()
144 if (enclosingElement.getNestingKind().isNested() in validateConstructor()
153 ImmutableSet<ExecutableElement> injectConstructors = injectedConstructors(enclosingElement); in validateConstructor()
159 ImmutableSet<Scope> scopes = scopesOf(enclosingElement); in validateConstructor()
164 enclosingElement, in validateConstructor()
/external/javapoet/src/test/java/com/squareup/javapoet/
DClassNameTest.java137 Object enclosingElement = invocation.callRealMethod(); in preventGetKind()
138 return enclosingElement instanceof TypeElement in preventGetKind()
139 ? preventGetKind((TypeElement) enclosingElement) in preventGetKind()
140 : enclosingElement; in preventGetKind()
/external/dagger2/java/dagger/android/processor/
DAndroidInjectorDescriptor.java109 TypeElement enclosingElement = MoreElements.asType(method.getEnclosingElement()); in createIfValid() local
110 if (!isAnnotationPresent(enclosingElement, Module.class)) { in createIfValid()
113 builder.enclosingModule(ClassName.get(enclosingElement)); in createIfValid()
/external/javapoet/src/main/java/com/squareup/javapoet/
DClassName.java223 @Override public ClassName defaultAction(Element enclosingElement, Void p) { in get() argument