Class Symbols.RootPackageSymbol
java.lang.Object
org.sonar.java.model.Symbols.DefaultSymbol
org.sonar.java.model.Symbols.UnknownSymbol
org.sonar.java.model.Symbols.RootPackageSymbol
- All Implemented Interfaces:
Symbol
- Enclosing class:
Symbols
-
Nested Class Summary
Nested classes/interfaces inherited from interface Symbol
Symbol.LabelSymbol, Symbol.MethodSymbol, Symbol.TypeSymbol, Symbol.VariableSymbolModifier and TypeInterfaceDescriptionstatic interfaceLabel symbol.static interfaceSymbol for methods.static interfaceSymbol for a type : class, enum, interface or annotation.static interfaceSymbol for field, method parameters and local variables. -
Field Summary
Fields inherited from interface Symbol
ROOT_PACKAGE, UNKNOWN_SYMBOL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Symbols.UnknownSymbol
declaration, enclosingClass, isUnknown, type, usagesModifier and TypeMethodDescriptionDeclaration node of this symbol.final Symbol.TypeSymbolThe closest enclosing class.booleanfinal Typetype()Type of symbol.final List<IdentifierTree> usages()The identifier trees that reference this symbol.Methods inherited from class Symbols.DefaultSymbol
isAbstract, isDeprecated, isEnum, isFinal, isInterface, isMethodSymbol, isPackageVisibility, isPrivate, isProtected, isPublic, isStatic, isTypeSymbol, isVariableSymbol, isVolatile, metadataModifier and TypeMethodDescriptionfinal booleanfinal booleanfinal booleanisEnum()booleanisFinal()final booleanbooleanfinal booleanfinal booleanfinal booleanfinal booleanisPublic()final booleanisStatic()final booleanbooleanfinal booleanmetadata()Symbol metadata informations, annotations for instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Symbol
isLocalVariable, isParameterModifier and TypeMethodDescriptiondefault booleandefault boolean
-
Constructor Details
-
RootPackageSymbol
public RootPackageSymbol()
-
-
Method Details
-
isPackageSymbol
public boolean isPackageSymbol()- Specified by:
isPackageSymbolin interfaceSymbol- Overrides:
isPackageSymbolin classSymbols.DefaultSymbol
-
name
-
owner
-