Searched refs:enclosingElement (Results 1 – 4 of 4) sorted by relevance
135 TypeElement enclosingElement = in validateConstructor() local138 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()
137 Object enclosingElement = invocation.callRealMethod(); in preventGetKind()138 return enclosingElement instanceof TypeElement in preventGetKind()139 ? preventGetKind((TypeElement) enclosingElement) in preventGetKind()140 : enclosingElement; in preventGetKind()
109 TypeElement enclosingElement = MoreElements.asType(method.getEnclosingElement()); in createIfValid() local110 if (!isAnnotationPresent(enclosingElement, Module.class)) { in createIfValid()113 builder.enclosingModule(ClassName.get(enclosingElement)); in createIfValid()
223 @Override public ClassName defaultAction(Element enclosingElement, Void p) { in get() argument