Uses of Interface
javax.lang.model.element.VariableElement
Package | Description |
---|---|
com.sun.source.util |
Provides utilities for operations on abstract syntax trees (AST).
|
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 com.sun.source.util
Methods in com.sun.source.util with parameters of type VariableElement Modifier and Type Method Description CharSequence
ParameterNameProvider. getParameterName(VariableElement parameter)
Infer a parameter name for the given parameter. -
Uses of VariableElement in javax.lang.model.element
Methods in javax.lang.model.element that return types with arguments of type VariableElement Modifier and Type Method Description List<? extends VariableElement>
ExecutableElement. getParameters()
Returns the formal parameters of this executable.Methods in javax.lang.model.element with parameters of type VariableElement Modifier and Type Method Description R
AnnotationValueVisitor. visitEnumConstant(VariableElement c, P p)
Visits anenum
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 Modifier and Type Method Description static List<VariableElement>
ElementFilter. fieldsIn(Iterable<? extends Element> elements)
Returns a list of fields inelements
.static Set<VariableElement>
ElementFilter. fieldsIn(Set<? extends Element> elements)
Returns a set of fields inelements
.Methods in javax.lang.model.util with parameters of type VariableElement Modifier and Type Method Description R
SimpleAnnotationValueVisitor6. visitEnumConstant(VariableElement c, P p)
Visits anenum
value in an annotation.R
ElementKindVisitor6. visitVariable(VariableElement e, P p)
Visits a variable elementR
ElementScanner6. visitVariable(VariableElement e, P p)
Visits a variable element.R
ElementScanner7. visitVariable(VariableElement e, P p)
Visits a variable element.R
SimpleElementVisitor6. visitVariable(VariableElement e, P p)
Visits a variable element.R
SimpleElementVisitor7. visitVariable(VariableElement e, P p)
Visits a variable element.R
ElementKindVisitor6. visitVariableAsEnumConstant(VariableElement e, P p)
Visits anENUM_CONSTANT
variable element.R
ElementKindVisitor6. visitVariableAsExceptionParameter(VariableElement e, P p)
Visits anEXCEPTION_PARAMETER
variable element.R
ElementKindVisitor6. visitVariableAsField(VariableElement e, P p)
Visits aFIELD
variable element.R
ElementKindVisitor6. visitVariableAsLocalVariable(VariableElement e, P p)
Visits aLOCAL_VARIABLE
variable element.R
ElementKindVisitor6. visitVariableAsParameter(VariableElement e, P p)
Visits aPARAMETER
variable element.R
ElementKindVisitor6. visitVariableAsResourceVariable(VariableElement e, P p)
Visits aRESOURCE_VARIABLE
variable element.R
ElementKindVisitor7. visitVariableAsResourceVariable(VariableElement e, P p)
Visits aRESOURCE_VARIABLE
variable element.