Uses of Interface
org.sonar.plugins.java.api.semantic.Symbol
-
Packages that use Symbol Package Description org.sonar.java.cfg org.sonar.java.matcher org.sonar.java.model org.sonar.java.model.declaration org.sonar.java.model.expression org.sonar.java.resolve org.sonar.java.se org.sonar.java.se.symbolicvalues org.sonar.plugins.java.api.semantic Provides interfaces to represent Java source code as syntax tree.org.sonar.plugins.java.api.tree Provides interfaces to represent Java source code as syntax tree. -
-
Uses of Symbol in org.sonar.java.cfg
Methods in org.sonar.java.cfg that return types with arguments of type Symbol Modifier and Type Method Description Set<Symbol>
LiveVariables. getIn(CFG.Block block)
Set<Symbol>
LiveVariables. getOut(CFG.Block block)
Set<Symbol>
VariableReadExtractor. usedVariables()
-
Uses of Symbol in org.sonar.java.matcher
Methods in org.sonar.java.matcher with parameters of type Symbol Modifier and Type Method Description boolean
MethodMatchersBuilder. matches(Symbol symbol)
boolean
MethodMatchersList. matches(Symbol symbol)
boolean
NoneMethodMatchers. matches(Symbol symbol)
-
Uses of Symbol in org.sonar.java.model
Classes in org.sonar.java.model that implement Symbol Modifier and Type Class Description class
JLabelSymbol
Methods in org.sonar.java.model that return Symbol Modifier and Type Method Description static Symbol
JUtils. enclosingClass(Tree t)
static Symbol
JUtils. getPackage(Symbol symbol)
static Symbol
JUtils. importTreeSymbol(ImportTree tree)
Symbol
JLabelSymbol. owner()
Symbol
JavaTree.ImportTreeImpl. symbol()
Symbol
TypeParameterTreeImpl. symbol()
static Symbol
JUtils. typeParameterTreeSymbol(TypeParameterTree tree)
Methods in org.sonar.java.model that return types with arguments of type Symbol Modifier and Type Method Description static Optional<Symbol>
ExpressionUtils. extractIdentifierSymbol(ExpressionTree tree)
static Optional<Symbol>
ExpressionUtils. getAssignedSymbol(ExpressionTree exp)
Methods in org.sonar.java.model with parameters of type Symbol Modifier and Type Method Description static Symbol
JUtils. getPackage(Symbol symbol)
static boolean
ExpressionUtils. isInvocationOnVariable(MethodInvocationTree mit, Symbol variable, boolean defaultReturn)
Return whether we are sure that the method invocation is on a given variable.static boolean
JUtils. isParameter(Symbol symbol)
-
Uses of Symbol in org.sonar.java.model.declaration
Methods in org.sonar.java.model.declaration that return Symbol Modifier and Type Method Description Symbol
VariableTreeImpl. symbol()
-
Uses of Symbol in org.sonar.java.model.expression
Methods in org.sonar.java.model.expression that return Symbol Modifier and Type Method Description Symbol
NewClassTreeImpl. constructorSymbol()
Symbol
IdentifierTreeImpl. symbol()
Symbol
MethodInvocationTreeImpl. symbol()
-
Uses of Symbol in org.sonar.java.resolve
Classes in org.sonar.java.resolve that implement Symbol Modifier and Type Class Description static class
Symbols.DefaultSymbol
Fields in org.sonar.java.resolve declared as Symbol Modifier and Type Field Description static Symbol
Symbols. rootPackage
static Symbol
Symbols. unknownSymbol
-
Uses of Symbol in org.sonar.java.se
Methods in org.sonar.java.se that return Symbol Modifier and Type Method Description Symbol
LearnedAssociation. symbol()
Symbol
ProgramState.SymbolicValueSymbol. symbol()
Methods in org.sonar.java.se with parameters of type Symbol Modifier and Type Method Description static Set<Flow>
FlowComputation. flow(ExplodedGraph.Node currentNode, SymbolicValue currentVal, List<Class<? extends Constraint>> domains, Symbol trackSymbol)
SymbolicValue
ProgramState. getValue(Symbol symbol)
static boolean
NullableAnnotationUtils. isAnnotatedNonNull(Symbol symbol)
static boolean
ProgramState. isField(Symbol symbol)
static String
NullableAnnotationUtils. nonNullAnnotation(Symbol symbol)
ProgramState
ProgramState. put(Symbol symbol, SymbolicValue value)
ProgramState
ProgramState. stackValue(SymbolicValue sv, Symbol symbol)
Method parameters in org.sonar.java.se with type arguments of type Symbol Modifier and Type Method Description ProgramState
ProgramState. cleanupDeadSymbols(Set<Symbol> liveVariables, Collection<SymbolicValue> protectedSymbolicValues)
Constructors in org.sonar.java.se with parameters of type Symbol Constructor Description LearnedAssociation(SymbolicValue sv, Symbol symbol)
SymbolicValueSymbol(SymbolicValue sv, Symbol symbol)
-
Uses of Symbol in org.sonar.java.se.symbolicvalues
Methods in org.sonar.java.se.symbolicvalues that return Symbol Modifier and Type Method Description Symbol
BinarySymbolicValue. leftSymbol()
Symbol
BinarySymbolicValue. rightSymbol()
Methods in org.sonar.java.se.symbolicvalues that return types with arguments of type Symbol Modifier and Type Method Description List<Symbol>
BinarySymbolicValue. computedFromSymbols()
List<Symbol>
SymbolicValue. computedFromSymbols()
List<Symbol>
SymbolicValue.UnarySymbolicValue. computedFromSymbols()
-
Uses of Symbol in org.sonar.plugins.java.api.semantic
Subinterfaces of Symbol in org.sonar.plugins.java.api.semantic Modifier and Type Interface Description static interface
Symbol.MethodSymbol
Symbol for methods.static interface
Symbol.TypeSymbol
Symbol for a type : class, enum, interface or annotation.static interface
Symbol.VariableSymbol
Symbol for field, method parameters and local variables.Methods in org.sonar.plugins.java.api.semantic that return Symbol Modifier and Type Method Description Symbol
Symbol. owner()
The owner of this symbol.Symbol
SymbolMetadata.AnnotationInstance. symbol()
Type symbol of this annotation.Methods in org.sonar.plugins.java.api.semantic that return types with arguments of type Symbol Modifier and Type Method Description Collection<Symbol>
Symbol.TypeSymbol. lookupSymbols(String name)
Lookup symbols accessible from this type with the name passed in parameter.Collection<Symbol>
Symbol.TypeSymbol. memberSymbols()
List of symbols defined by this type symbols.Methods in org.sonar.plugins.java.api.semantic with parameters of type Symbol Modifier and Type Method Description boolean
MethodMatchers. matches(Symbol symbol)
-
Uses of Symbol in org.sonar.plugins.java.api.tree
Methods in org.sonar.plugins.java.api.tree that return Symbol Modifier and Type Method Description Symbol
NewClassTree. constructorSymbol()
Symbol
IdentifierTree. symbol()
Symbol
MethodInvocationTree. symbol()
Symbol
VariableTree. symbol()
-