public class Ref
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Ref(java.lang.String name)
External constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId() |
Node |
getNode() |
Decl.Proxy |
getProxy() |
java.lang.String |
getScope() |
boolean |
isGlobal() |
Unit |
resolve(Unit uspec,
boolean local)
Resolve this reference.
|
public Ref(java.lang.String name)
public final java.lang.String getId()
public final Node getNode()
public final Decl.Proxy getProxy()
public final java.lang.String getScope()
public final boolean isGlobal()
public Unit resolve(Unit uspec, boolean local)
uspec
- the module or interface making this reference.local
- if true, the reference is to a decl within the same unit
making the reference. The text of the reference excludes
the name of the unit.SessionRuntimeException
- if can't be resolved.