Package org.sonar.java.resolve
Class JavaSymbol.WildcardSymbol
- java.lang.Object
-
- org.sonar.java.resolve.JavaSymbol
-
- org.sonar.java.resolve.JavaSymbol.TypeJavaSymbol
-
- org.sonar.java.resolve.JavaSymbol.WildcardSymbol
-
- All Implemented Interfaces:
Symbol
,Symbol.TypeSymbol
- Enclosing class:
- JavaSymbol
public static class JavaSymbol.WildcardSymbol extends JavaSymbol.TypeJavaSymbol
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.sonar.java.resolve.JavaSymbol
JavaSymbol.JavaLabelSymbol, JavaSymbol.MethodJavaSymbol, JavaSymbol.PackageJavaSymbol, JavaSymbol.TypeJavaSymbol, JavaSymbol.TypeVariableJavaSymbol, JavaSymbol.VariableJavaSymbol, JavaSymbol.WildcardSymbol
-
Nested classes/interfaces inherited from interface org.sonar.plugins.java.api.semantic.Symbol
Symbol.LabelSymbol, Symbol.MethodSymbol, Symbol.TypeSymbol, Symbol.VariableSymbol
-
-
Constructor Summary
Constructors Constructor Description WildcardSymbol(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassTree
declaration()
Declaration node of this symbol.String
getFullyQualifiedName()
List<JavaType>
getInterfaces()
JavaType
getSuperclass()
-
Methods inherited from class org.sonar.java.resolve.JavaSymbol.TypeJavaSymbol
addTypeParameter, directSuperTypes, interfaces, lookupSymbols, members, memberSymbols, superClass, superTypes, toString, typeParameters
-
Methods inherited from class org.sonar.java.resolve.JavaSymbol
addUsage, callbackOnceComplete, complete, enclosingClass, flags, getName, getType, isAbstract, isAnnotation, isDefault, isDeprecated, isEnum, isFinal, isFlag, isInterface, isMethodSymbol, isPackageSymbol, isPackageVisibility, isPrivate, isProtected, isPublic, isStatic, isTypeSymbol, isUnknown, isVariableSymbol, isVolatile, metadata, name, outermostClass, owner, packge, type, usages
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.sonar.plugins.java.api.semantic.Symbol
enclosingClass, isAbstract, isDeprecated, isEnum, isFinal, isInterface, isMethodSymbol, isPackageSymbol, isPackageVisibility, isPrivate, isProtected, isPublic, isStatic, isTypeSymbol, isUnknown, isVariableSymbol, isVolatile, metadata, name, owner, type, usages
-
-
-
-
Constructor Detail
-
WildcardSymbol
public WildcardSymbol(String name)
-
-
Method Detail
-
declaration
@Nullable public ClassTree declaration()
Description copied from interface:Symbol
Declaration node of this symbol. Currently, only works for declaration within the same file.- Specified by:
declaration
in interfaceSymbol
- Specified by:
declaration
in interfaceSymbol.TypeSymbol
- Overrides:
declaration
in classJavaSymbol.TypeJavaSymbol
- Returns:
- the Tree of the declaration of this symbol. Null if declaration does not occur in the currently analyzed file.
-
getSuperclass
@Nullable public JavaType getSuperclass()
- Overrides:
getSuperclass
in classJavaSymbol.TypeJavaSymbol
-
getInterfaces
public List<JavaType> getInterfaces()
- Overrides:
getInterfaces
in classJavaSymbol.TypeJavaSymbol
-
getFullyQualifiedName
public String getFullyQualifiedName()
- Overrides:
getFullyQualifiedName
in classJavaSymbol.TypeJavaSymbol
-
-