Uses of Interface
net.sourceforge.pmd.lang.java.symbols.JVariableSymbol
-
Packages that use JVariableSymbol Package Description net.sourceforge.pmd.lang.java.ast Contains the classes and interfaces modelling the Java AST.net.sourceforge.pmd.lang.java.symbols The new symbol resolution framework that inter-operates cleanly with type resolution.net.sourceforge.pmd.lang.java.types Support for compile-time type resolution on the AST. -
-
Uses of JVariableSymbol in net.sourceforge.pmd.lang.java.ast
Methods in net.sourceforge.pmd.lang.java.ast that return JVariableSymbol Modifier and Type Method Description default @Nullable JVariableSymbol
ASTAssignableExpr.ASTNamedReferenceExpr. getReferencedSym()
Returns the symbol referenced by this variable. -
Uses of JVariableSymbol in net.sourceforge.pmd.lang.java.symbols
Subinterfaces of JVariableSymbol in net.sourceforge.pmd.lang.java.symbols Modifier and Type Interface Description interface
JFieldSymbol
Represents a field declaration.interface
JFormalParamSymbol
Represents a formal parameter of aJExecutableSymbol
.interface
JLocalVariableSymbol
Represents all use cases ofASTVariableId
except field declarations.Methods in net.sourceforge.pmd.lang.java.symbols with parameters of type JVariableSymbol Modifier and Type Method Description default R
SymbolVisitor. visitVariable(JVariableSymbol sym, P param)
-
Uses of JVariableSymbol in net.sourceforge.pmd.lang.java.types
Methods in net.sourceforge.pmd.lang.java.types that return JVariableSymbol Modifier and Type Method Description JVariableSymbol
JVariableSig. getSymbol()
Returns the symbol for this variable.Methods in net.sourceforge.pmd.lang.java.types with parameters of type JVariableSymbol Modifier and Type Method Description @Nullable JTypeMirror
TypingContext. apply(JVariableSymbol var)
Method parameters in net.sourceforge.pmd.lang.java.types with type arguments of type JVariableSymbol Modifier and Type Method Description TypingContext
TypingContext. andThen(Map<JVariableSymbol,@Nullable JTypeMirror> map)
Return a new typing context which uses this one as a parent.TypingContext
TypingContext. andThenZip(List<JVariableSymbol> symbols, List<JTypeMirror> types)
static TypingContext
TypingContext. zip(List<JVariableSymbol> symbols, List<JTypeMirror> types)
-