public class Scope
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) Access |
access |
(package private) GenericType |
base |
(package private) java.util.Map<java.lang.String,Scope> |
children |
(package private) Scope |
declaring |
(package private) Scope |
enclosing |
(package private) GenericType[] |
exceptions |
(package private) Kind |
kind |
(package private) java.lang.String |
name |
(package private) java.util.Map<java.lang.String,java.lang.String[]> |
name2bounds |
(package private) GenericType[] |
parameters |
(package private) GenericParameter[] |
typeVars |
Constructor and Description |
---|
Scope(Access access,
Kind kind,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
add(Scope m) |
static java.lang.String |
classIdentity(java.lang.String name2) |
void |
cleanRoot() |
static java.lang.String |
constructorIdentity(java.lang.String descriptor) |
static java.lang.String |
fieldIdentity(java.lang.String name,
java.lang.String descriptor) |
(package private) Scope |
getScope(java.lang.String name) |
boolean |
isTop() |
static java.lang.String |
methodIdentity(java.lang.String name,
java.lang.String descriptor) |
void |
prune(java.util.EnumSet<Access> level) |
void |
report(java.lang.Appendable a,
int indent) |
void |
setAccess(Access access) |
void |
setBase(GenericType typeSignature) |
void |
setDeclaring(Scope declaring) |
void |
setEnclosing(Scope enclosing) |
void |
setExceptionTypes(GenericType[] convert) |
void |
setGenericParameter(GenericParameter[] typeVars) |
void |
setKind(Kind kind) |
void |
setParameterTypes(GenericType[] convert) |
java.lang.String |
toString() |
final java.util.Map<java.lang.String,Scope> children
final java.lang.String name
Access access
Kind kind
Scope enclosing
Scope declaring
GenericParameter[] typeVars
java.util.Map<java.lang.String,java.lang.String[]> name2bounds
GenericType base
GenericType[] parameters
GenericType[] exceptions
Scope getScope(java.lang.String name)
public void setParameterTypes(GenericType[] convert)
public void setExceptionTypes(GenericType[] convert)
public void setBase(GenericType typeSignature)
public java.lang.String toString()
toString
in class java.lang.Object
public void report(java.lang.Appendable a, int indent) throws java.io.IOException
java.io.IOException
public void add(Scope m)
public void setDeclaring(Scope declaring)
public void setAccess(Access access)
public void setEnclosing(Scope enclosing)
public boolean isTop()
public void setKind(Kind kind)
public static java.lang.String classIdentity(java.lang.String name2)
public static java.lang.String methodIdentity(java.lang.String name, java.lang.String descriptor)
public static java.lang.String constructorIdentity(java.lang.String descriptor)
public static java.lang.String fieldIdentity(java.lang.String name, java.lang.String descriptor)
public void cleanRoot()
public void prune(java.util.EnumSet<Access> level)
public void setGenericParameter(GenericParameter[] typeVars)