public static class JavaSymbol.TypeJavaSymbol extends JavaSymbol implements Symbol.TypeSymbol
JavaSymbol.JavaLabelSymbol, JavaSymbol.MethodJavaSymbol, JavaSymbol.PackageJavaSymbol, JavaSymbol.TypeJavaSymbol, JavaSymbol.TypeVariableJavaSymbol, JavaSymbol.VariableJavaSymbol, JavaSymbol.WildcardSymbolSymbol.LabelSymbol, Symbol.MethodSymbol, Symbol.TypeSymbol, Symbol.VariableSymbol| Constructor and Description |
|---|
JavaSymbol.TypeJavaSymbol(int flags,
String name,
JavaSymbol owner) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTypeParameter(JavaType.TypeVariableJavaType typeVariableType) |
ClassTree |
declaration()
Declaration node of this symbol.
|
String |
getFullyQualifiedName() |
List<JavaType> |
getInterfaces() |
JavaType |
getSuperclass() |
List<Type> |
interfaces()
Interfaces implemented by this type.
|
Collection<Symbol> |
lookupSymbols(String name)
Lookup symbols accessible from this type with the name passed in parameter.
|
Scope |
members() |
Collection<Symbol> |
memberSymbols()
List of symbols defined by this type symbols.
|
Type |
superClass()
Returns the superclass of this type symbol.
|
Set<JavaType.ClassJavaType> |
superTypes()
Includes superclass and super interface hierarchy.
|
String |
toString() |
Scope |
typeParameters() |
addUsage, complete, enclosingClass, flags, getName, getType, isAbstract, isDeprecated, isEnum, isFinal, isFlag, isInterface, isMethodSymbol, isPackageSymbol, isPackageVisibility, isPrivate, isProtected, isPublic, isStatic, isTypeSymbol, isUnknown, isVariableSymbol, isVolatile, metadata, name, outermostClass, owner, packge, type, usagesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenclosingClass, isAbstract, isDeprecated, isEnum, isFinal, isInterface, isMethodSymbol, isPackageSymbol, isPackageVisibility, isPrivate, isProtected, isPublic, isStatic, isTypeSymbol, isUnknown, isVariableSymbol, isVolatile, metadata, name, owner, type, usagespublic JavaSymbol.TypeJavaSymbol(int flags,
String name,
JavaSymbol owner)
public void addTypeParameter(JavaType.TypeVariableJavaType typeVariableType)
public Scope members()
public Scope typeParameters()
public String getFullyQualifiedName()
public Set<JavaType.ClassJavaType> superTypes()
public Type superClass()
Symbol.TypeSymbolsuperClass in interface Symbol.TypeSymbolpublic List<Type> interfaces()
Symbol.TypeSymbolinterfaces in interface Symbol.TypeSymbolpublic Collection<Symbol> memberSymbols()
Symbol.TypeSymbolmemberSymbols in interface Symbol.TypeSymbolpublic Collection<Symbol> lookupSymbols(String name)
Symbol.TypeSymbollookupSymbols in interface Symbol.TypeSymbolname - name of searched symbol.public ClassTree declaration()
Symboldeclaration in interface Symboldeclaration in interface Symbol.TypeSymboldeclaration in class JavaSymbolCopyright © 2012–2016 SonarSource. All rights reserved.