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.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
MethodMatcherCollection. anyMatch(Symbol symbol)
boolean
MethodMatcher. matches(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()
Methods in org.sonar.java.model.expression with parameters of type Symbol Modifier and Type Method Description void
IdentifierTreeImpl. setSymbol(Symbol symbol)
void
MethodInvocationTreeImpl. setSymbol(Symbol symbol)
-
Uses of Symbol in org.sonar.java.resolve
Classes in org.sonar.java.resolve that implement Symbol Modifier and Type Class Description class
JavaSymbol
static class
JavaSymbol.JavaLabelSymbol
static class
JavaSymbol.MethodJavaSymbol
Represents a method, constructor or initializer (static or instance).static class
JavaSymbol.PackageJavaSymbol
Represents package.static class
JavaSymbol.TypeJavaSymbol
Represents a class, interface, enum or annotation type.static class
JavaSymbol.TypeVariableJavaSymbol
Represents type variable of a parametrized type ie: T in class Foo{} static class
JavaSymbol.VariableJavaSymbol
Represents a field, enum constant, method or constructor parameter, local variable, resource variable or exception parameter.static class
JavaSymbol.WildcardSymbol
static class
Resolve.AccessErrorJavaSymbol
static class
Resolve.AmbiguityErrorJavaSymbol
static class
Resolve.JavaSymbolNotFound
Methods in org.sonar.java.resolve that return Symbol Modifier and Type Method Description Symbol
SemanticModel. getEnclosingClass(Tree tree)
Symbol
SemanticModel. getSymbol(Tree tree)
Methods in org.sonar.java.resolve that return types with arguments of type Symbol Modifier and Type Method Description Collection<Symbol>
JavaSymbol.TypeJavaSymbol. lookupSymbols(String name)
Collection<Symbol>
JavaSymbol.TypeJavaSymbol. memberSymbols()
List<Symbol>
SymbolMetadataResolve. metaAnnotations()
Methods in org.sonar.java.resolve with parameters of type Symbol Modifier and Type Method Description void
SemanticModel. associateSymbol(Tree tree, Symbol symbol)
Object
BytecodeCompleter. constantValue(Symbol owner, String constantName)
This method reads constant values in bytecode.Object
SemanticModel. constantValue(Symbol owner, String constantName)
org.sonar.java.resolve.Resolve.Env
SemanticModel. getEnv(Symbol symbol)
void
SemanticModel. saveEnv(Symbol symbol, org.sonar.java.resolve.Resolve.Env env)
-
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
NullableAnnotationUtils. isAnnotatedNullable(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. -
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()
-