public class ExternalPrincipal_c extends Principal_c implements ExternalPrincipal
ExternalPrincipal interface.variables| Constructor and Description |
|---|
ExternalPrincipal_c(java.lang.String name,
JifTypeSystem ts,
polyglot.util.Position pos) |
ExternalPrincipal_c(java.lang.String name,
JifTypeSystem ts,
PrincipalToJavaExpr toJava,
polyglot.util.Position pos) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsImpl(polyglot.types.TypeObject o)
Compares the specified object with this principal for equality.
|
int |
hashCode() |
boolean |
isCanonical() |
boolean |
isRuntimeRepresentable() |
java.lang.String |
name() |
java.lang.String |
toString() |
hasVariables, isBottomPrincipal, isTopPrincipal, labelCheck, simplify, subst, throwTypes, toJava, variablestypeSystemclone, finalize, getClass, notify, notifyAll, wait, wait, waithasVariables, isBottomPrincipal, isTopPrincipal, labelCheck, simplify, subst, throwTypes, variablestoJavatypeSystempublic ExternalPrincipal_c(java.lang.String name,
JifTypeSystem ts,
polyglot.util.Position pos)
public ExternalPrincipal_c(java.lang.String name,
JifTypeSystem ts,
PrincipalToJavaExpr toJava,
polyglot.util.Position pos)
public java.lang.String name()
name in interface ExternalPrincipalpublic boolean isRuntimeRepresentable()
isRuntimeRepresentable in interface ParamisRuntimeRepresentable in class Principal_cpublic boolean isCanonical()
isCanonical in interface ParamisCanonical in interface polyglot.types.TypeObjectisCanonical in class Principal_cpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equalsImpl(polyglot.types.TypeObject o)
ExternalPrincipal
and both principals have the same name.equalsImpl in interface polyglot.types.TypeObjectequalsImpl in class Principal_cpublic int hashCode()
hashCode in class Principal_c