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 booleanMethodMatchersBuilder. matches(Symbol symbol)booleanMethodMatchersList. matches(Symbol symbol)booleanNoneMethodMatchers. 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 classJLabelSymbolMethods in org.sonar.java.model that return Symbol Modifier and Type Method Description static SymbolJUtils. enclosingClass(Tree t)static SymbolJUtils. getPackage(Symbol symbol)static SymbolJUtils. importTreeSymbol(ImportTree tree)SymbolJLabelSymbol. owner()SymbolJavaTree.ImportTreeImpl. symbol()SymbolTypeParameterTreeImpl. symbol()static SymbolJUtils. 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 SymbolJUtils. getPackage(Symbol symbol)static booleanExpressionUtils. isInvocationOnVariable(MethodInvocationTree mit, Symbol variable, boolean defaultReturn)Return whether we are sure that the method invocation is on a given variable.static booleanJUtils. 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 SymbolVariableTreeImpl. 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 SymbolNewClassTreeImpl. constructorSymbol()SymbolIdentifierTreeImpl. symbol()SymbolMethodInvocationTreeImpl. symbol() -
Uses of Symbol in org.sonar.java.resolve
Classes in org.sonar.java.resolve that implement Symbol Modifier and Type Class Description static classSymbols.DefaultSymbolFields in org.sonar.java.resolve declared as Symbol Modifier and Type Field Description static SymbolSymbols. rootPackagestatic SymbolSymbols. unknownSymbol -
Uses of Symbol in org.sonar.java.se
Methods in org.sonar.java.se that return Symbol Modifier and Type Method Description SymbolLearnedAssociation. symbol()SymbolProgramState.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, int maxReturnedFlows)SymbolicValueProgramState. getValue(Symbol symbol)static booleanNullableAnnotationUtils. isAnnotatedNonNull(Symbol symbol)static booleanProgramState. isField(Symbol symbol)static StringNullableAnnotationUtils. nonNullAnnotation(Symbol symbol)ProgramStateProgramState. put(Symbol symbol, SymbolicValue value)To be used only by the ExplodedGraphWalker only, when manipulating program states.ProgramStateProgramState. stackValue(SymbolicValue sv, Symbol symbol)Method parameters in org.sonar.java.se with type arguments of type Symbol Modifier and Type Method Description ProgramStateProgramState. 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 SymbolBinarySymbolicValue. leftSymbol()SymbolBinarySymbolicValue. 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 interfaceSymbol.MethodSymbolSymbol for methods.static interfaceSymbol.TypeSymbolSymbol for a type : class, enum, interface or annotation.static interfaceSymbol.VariableSymbolSymbol for field, method parameters and local variables.Methods in org.sonar.plugins.java.api.semantic that return Symbol Modifier and Type Method Description SymbolSymbol. owner()The owner of this symbol.SymbolSymbolMetadata.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 booleanMethodMatchers. 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 SymbolNewClassTree. constructorSymbol()SymbolIdentifierTree. symbol()SymbolMethodInvocationTree. symbol()SymbolVariableTree. symbol()
-