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 booleanMethodMatcherCollection. anyMatch(Symbol symbol)booleanMethodMatcher. 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 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()Methods in org.sonar.java.model.expression with parameters of type Symbol Modifier and Type Method Description voidIdentifierTreeImpl. setSymbol(Symbol symbol)voidMethodInvocationTreeImpl. 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 classJavaSymbolstatic classJavaSymbol.JavaLabelSymbolstatic classJavaSymbol.MethodJavaSymbolRepresents a method, constructor or initializer (static or instance).static classJavaSymbol.PackageJavaSymbolRepresents package.static classJavaSymbol.TypeJavaSymbolRepresents a class, interface, enum or annotation type.static classJavaSymbol.TypeVariableJavaSymbolRepresents type variable of a parametrized type ie: T in class Foo{} static classJavaSymbol.VariableJavaSymbolRepresents a field, enum constant, method or constructor parameter, local variable, resource variable or exception parameter.static classJavaSymbol.WildcardSymbolstatic classResolve.AccessErrorJavaSymbolstatic classResolve.AmbiguityErrorJavaSymbolstatic classResolve.JavaSymbolNotFoundMethods in org.sonar.java.resolve that return Symbol Modifier and Type Method Description SymbolSemanticModel. getEnclosingClass(Tree tree)SymbolSemanticModel. 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 voidSemanticModel. associateSymbol(Tree tree, Symbol symbol)ObjectBytecodeCompleter. constantValue(Symbol owner, String constantName)This method reads constant values in bytecode.ObjectSemanticModel. constantValue(Symbol owner, String constantName)org.sonar.java.resolve.Resolve.EnvSemanticModel. getEnv(Symbol symbol)voidSemanticModel. 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 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)SymbolicValueProgramState. getValue(Symbol symbol)static booleanNullableAnnotationUtils. isAnnotatedNonNull(Symbol symbol)static booleanNullableAnnotationUtils. isAnnotatedNullable(Symbol symbol)static booleanProgramState. isField(Symbol symbol)static StringNullableAnnotationUtils. nonNullAnnotation(Symbol symbol)ProgramStateProgramState. put(Symbol symbol, SymbolicValue value)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. -
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()
-