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 SymbolModifier and TypeMethodDescriptionstatic TreeMatcher<ExpressionTree> TreeMatcher.isIdentifier(Symbol symbol) booleanbooleanboolean -
Uses of Symbol in org.sonar.java.model
Classes in org.sonar.java.model that implement SymbolModifier and TypeClassDescriptionclassstatic classstatic final classstatic final classstatic classstatic final classMethods in org.sonar.java.model that return SymbolModifier and TypeMethodDescriptionstatic SymbolJUtils.enclosingClass(Tree t) static SymbolJUtils.getPackage(Symbol symbol) JLabelSymbol.owner()Symbols.RootPackageSymbol.owner()Symbols.UnknownMethodSymbol.owner()Symbols.UnknownSymbol.owner()JSema.packageSymbol(org.eclipse.jdt.core.dom.IPackageBinding packageBinding) JavaTree.ImportTreeImpl.symbol()TypeParameterTreeImpl.symbol()Methods in org.sonar.java.model that return types with arguments of type SymbolModifier and TypeMethodDescriptionSymbols.UnknownMethodSymbol.declarationParameters()ExpressionUtils.extractIdentifierSymbol(ExpressionTree tree) ExpressionUtils.getAssignedSymbol(ExpressionTree exp) Symbols.UnkownTypeSymbol.lookupSymbols(String name) Symbols.UnkownTypeSymbol.memberSymbols()Methods in org.sonar.java.model with parameters of type SymbolModifier and TypeMethodDescriptionstatic 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. -
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 interfaceSymbol for methods.static interfaceSymbol for a type : class, enum, interface or annotation.static interfaceSymbol for field, method parameters and local variables.Fields in org.sonar.plugins.java.api.semantic declared as SymbolModifier and TypeFieldDescriptionstatic final SymbolSymbol.ROOT_PACKAGEAn instance ofSymbolrepresenting an unknown root packagestatic final SymbolSymbol.UNKNOWN_SYMBOLAn instance ofSymbolrepresenting an unknown symbolMethods 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 SymbolModifier and TypeMethodDescriptionNewClassTree.constructorSymbol()Deprecated, for removal: This API element is subject to removal in a future version.IdentifierTree.symbol()ImportTree.symbol()MethodInvocationTree.symbol()Deprecated, for removal: This API element is subject to removal in a future version.in favor ofMethodInvocationTree.methodSymbol(), which returns the narrower typeSymbol.MethodSymbolinstead ofSymbol.TypeParameterTree.symbol()VariableTree.symbol()
NewClassTree.methodSymbol(), which returns the narrower typeSymbol.MethodSymbolinstead ofSymbol.