public class AccessPathLocal extends AccessPathRoot
AccessPath,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected polyglot.types.LocalInstance |
li |
protected java.lang.String |
name |
| Constructor and Description |
|---|
AccessPathLocal(polyglot.types.LocalInstance li,
java.lang.String name,
polyglot.util.Position pos) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
exprString() |
int |
hashCode() |
boolean |
isCanonical() |
boolean |
isNeverNull() |
PathMap |
labelcheck(JifContext A,
LabelChecker lc) |
polyglot.types.LocalInstance |
localInstance() |
java.lang.String |
name() |
AccessPathLocal |
name(java.lang.String name) |
void |
setIsNeverNull() |
AccessPath |
subst(AccessPathRoot r,
AccessPath e)
Return the result of substituting the root r with the access path
e.
|
java.lang.String |
toString() |
polyglot.types.Type |
type()
The type of the access path (when the access path is regarded
as an expression).
|
void |
verify(JifContext A)
Go through the path, check that all the type information is set
correctly, and check that every field access is to a final field,
and any local used is final
|
equivalentTo, isUninterpreted, rootcopy, position, throwTypespublic AccessPathLocal(polyglot.types.LocalInstance li,
java.lang.String name,
polyglot.util.Position pos)
public boolean isCanonical()
isCanonical in class AccessPathpublic AccessPath subst(AccessPathRoot r, AccessPath e)
AccessPathsubst in class AccessPathpublic AccessPathLocal name(java.lang.String name)
public boolean isNeverNull()
isNeverNull in class AccessPathpublic void setIsNeverNull()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String exprString()
exprString in class AccessPathpublic java.lang.String name()
public polyglot.types.LocalInstance localInstance()
public boolean equals(java.lang.Object o)
equals in class AccessPathpublic int hashCode()
hashCode in class AccessPathpublic polyglot.types.Type type()
AccessPathtype in class AccessPathpublic PathMap labelcheck(JifContext A, LabelChecker lc)
labelcheck in class AccessPathRootpublic void verify(JifContext A) throws polyglot.types.SemanticException
AccessPathverify in class AccessPathpolyglot.types.SemanticException