Java™ Platform
Standard Ed. 6

Uses of Interface
javax.lang.model.element.VariableElement

Packages that use VariableElement
javax.lang.model.element Interfaces used to model elements of the Java programming language. 
javax.lang.model.util Utilities to assist in the processing of program elements and types
 

Uses of VariableElement in javax.lang.model.element
 

Methods in javax.lang.model.element that return types with arguments of type VariableElement
 List<? extends VariableElement> ExecutableElement.getParameters()
          Returns the formal parameters of this executable.
 

Methods in javax.lang.model.element with parameters of type VariableElement
 R AnnotationValueVisitor.visitEnumConstant(VariableElement c, P p)
          Visits an enum value in an annotation.
 R ElementVisitor.visitVariable(VariableElement e, P p)
          Visits a variable element.
 

Uses of VariableElement in javax.lang.model.util
 

Methods in javax.lang.model.util that return types with arguments of type VariableElement
static List<VariableElement> ElementFilter.fieldsIn(Iterable<? extends Element> elements)
          Returns a list of fields in elements.
static Set<VariableElement> ElementFilter.fieldsIn(Set<? extends Element> elements)
          Returns a set of fields in elements.
 

Methods in javax.lang.model.util with parameters of type VariableElement
 R SimpleAnnotationValueVisitor6.visitEnumConstant(VariableElement c, P p)
          Visits an enum value in an annotation.
 R SimpleElementVisitor6.visitVariable(VariableElement e, P p)
          Visits a variable element.
 R ElementScanner6.visitVariable(VariableElement e, P p)
          Visits a variable element.
 R ElementKindVisitor6.visitVariable(VariableElement e, P p)
          Visits a variable element, dispatching to the visit method for the specific kind of variable, ENUM_CONSTANT, EXCEPTION_PARAMETER, FIELD, LOCAL_VARIABLE, or PARAMETER.
 R ElementKindVisitor6.visitVariableAsEnumConstant(VariableElement e, P p)
          Visits an ENUM_CONSTANT variable element by calling defaultAction.
 R ElementKindVisitor6.visitVariableAsExceptionParameter(VariableElement e, P p)
          Visits an EXCEPTION_PARAMETER variable element by calling defaultAction.
 R ElementKindVisitor6.visitVariableAsField(VariableElement e, P p)
          Visits a FIELD variable element by calling defaultAction.
 R ElementKindVisitor6.visitVariableAsLocalVariable(VariableElement e, P p)
          Visits a LOCAL_VARIABLE variable element by calling defaultAction.
 R ElementKindVisitor6.visitVariableAsParameter(VariableElement e, P p)
          Visits a PARAMETER variable element by calling defaultAction.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.