Uses of Interface
org.sonar.plugins.java.api.semantic.Symbol
Packages that use Symbol
Package
Description
Provides interfaces to represent Java source code as syntax 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 -
Uses of Symbol in org.sonar.java.matcher
Methods in org.sonar.java.matcher with parameters of type Symbol -
Uses of Symbol in org.sonar.java.model
Classes in org.sonar.java.model that implement SymbolFields in org.sonar.java.model declared as SymbolModifier and TypeFieldDescriptionstatic final Symbol
Symbols.rootPackage
static final Symbol
Symbols.unknownSymbol
Methods in org.sonar.java.model that return SymbolModifier and TypeMethodDescriptionstatic Symbol
JUtils.enclosingClass
(Tree t) static Symbol
JUtils.getPackage
(Symbol symbol) static Symbol
JUtils.importTreeSymbol
(ImportTree tree) JLabelSymbol.owner()
JavaTree.ImportTreeImpl.symbol()
TypeParameterTreeImpl.symbol()
static Symbol
JUtils.typeParameterTreeSymbol
(TypeParameterTree tree) Methods in org.sonar.java.model that return types with arguments of type SymbolModifier and TypeMethodDescriptionExpressionUtils.extractIdentifierSymbol
(ExpressionTree tree) ExpressionUtils.getAssignedSymbol
(ExpressionTree exp) Methods in org.sonar.java.model with parameters of type SymbolModifier and TypeMethodDescriptionstatic 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.isLocalVariable
(Symbol symbol) 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 -
Uses of Symbol in org.sonar.java.model.expression
Methods in org.sonar.java.model.expression that return Symbol -
Uses of Symbol in org.sonar.plugins.java.api.semantic
Subinterfaces of Symbol in org.sonar.plugins.java.api.semanticModifier and TypeInterfaceDescriptionstatic interface
Symbol for methods.static interface
Symbol for a type : class, enum, interface or annotation.static interface
Symbol for field, method parameters and local variables.Methods in org.sonar.plugins.java.api.semantic that return SymbolModifier and TypeMethodDescriptionSymbol.owner()
The owner of this symbol.SymbolMetadata.AnnotationInstance.symbol()
Type symbol of this annotation.Methods in org.sonar.plugins.java.api.semantic that return types with arguments of type SymbolModifier and TypeMethodDescriptionSymbol.MethodSymbol.declarationParameters()
Symbols of parameters declared by this method.Symbol.TypeSymbol.lookupSymbols
(String name) Lookup symbols accessible from this type with the name passed in parameter.Symbol.TypeSymbol.memberSymbols()
List of symbols defined by this type symbols.Methods in org.sonar.plugins.java.api.semantic with parameters of type Symbol -
Uses of Symbol in org.sonar.plugins.java.api.tree
Methods in org.sonar.plugins.java.api.tree that return Symbol