public class AccessPathThis extends AccessPathRoot
AccessPath,
Serialized Form| Constructor and Description |
|---|
AccessPathThis(polyglot.types.ClassType ct,
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) |
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 AccessPathThis(polyglot.types.ClassType ct,
polyglot.util.Position pos)
ct - may be null.public boolean isCanonical()
isCanonical in class AccessPathpublic boolean isNeverNull()
isNeverNull in class AccessPathpublic AccessPath subst(AccessPathRoot r, AccessPath e)
AccessPathsubst in class AccessPathpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String exprString()
exprString in class AccessPathpublic 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