public class JifMethodInstance_c extends polyglot.types.MethodInstance_c implements JifMethodInstance
JifMethodInstance interface.| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Assertion> |
constraints |
protected boolean |
isDefaultPCBound |
protected boolean |
isDefaultReturnLabel |
protected Label |
pcBound |
protected Label |
returnLabel |
| Constructor and Description |
|---|
JifMethodInstance_c(JifTypeSystem ts,
polyglot.util.Position pos,
polyglot.types.ReferenceType container,
polyglot.types.Flags flags,
polyglot.types.Type returnType,
java.lang.String name,
Label pcBound,
boolean isDefaultPCBound,
java.util.List<? extends polyglot.types.Type> formalTypes,
java.util.List<Label> formalArgLabels,
Label returnLabel,
boolean isDefaultReturnLabel,
java.util.List<? extends polyglot.types.Type> excTypes,
java.util.List<Assertion> constraints) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Assertion> |
constraints() |
java.lang.String |
debugString() |
java.lang.String |
fullSignature() |
boolean |
isCanonical() |
boolean |
isDefaultPCBound() |
boolean |
isDefaultReturnLabel() |
Label |
pcBound() |
ProviderLabel |
provider() |
Label |
returnLabel() |
Label |
returnValueLabel() |
void |
setConstraints(java.util.List<Assertion> constraints) |
void |
setPCBound(Label pcBound,
boolean isDefault) |
void |
setReturnLabel(Label returnLabel,
boolean isDefault) |
java.lang.String |
signature() |
void |
subst(LabelSubstitution subst) |
void |
subst(VarMap bounds) |
java.lang.String |
toString() |
canOverride, canOverrideImpl, canOverrideImpl, checkOverride, container, declaration, designator, equalsImpl, flags, formalTypes, hashCode, implemented, implementedImpl, implementedImplAux, isSameMethod, isSameMethodImpl, methodCallValid, methodCallValidImpl, name, name, orig, overrides, overridesImpl, returnType, returnType, setDeclaration, setName, setReturnType, throwTypescallValid, callValidImpl, container, flags, formalTypes, hasFormals, hasFormalsImpl, listIsCanonical, moreSpecific, moreSpecificImpl, setContainer, setFlags, setFormalTypes, setThrowTypes, throwsSubset, throwsSubsetImpl, throwTypesclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanOverride, canOverrideImpl, checkOverride, container, flags, formalTypes, implemented, implementedImpl, isSameMethod, isSameMethodImpl, methodCallValid, methodCallValidImpl, name, name, orig, overrides, overridesImpl, returnType, setName, throwTypescallValid, callValidImpl, designator, formalTypes, hasFormals, hasFormalsImpl, moreSpecific, moreSpecificImpl, setFormalTypes, setThrowTypes, throwsSubset, throwsSubsetImpl, throwTypescontainer, flags, setContainer, setFlagscontainerprotected Label pcBound
protected Label returnLabel
protected java.util.List<Assertion> constraints
protected boolean isDefaultPCBound
protected boolean isDefaultReturnLabel
public JifMethodInstance_c(JifTypeSystem ts, polyglot.util.Position pos, polyglot.types.ReferenceType container, polyglot.types.Flags flags, polyglot.types.Type returnType, java.lang.String name, Label pcBound, boolean isDefaultPCBound, java.util.List<? extends polyglot.types.Type> formalTypes, java.util.List<Label> formalArgLabels, Label returnLabel, boolean isDefaultReturnLabel, java.util.List<? extends polyglot.types.Type> excTypes, java.util.List<Assertion> constraints)
public Label pcBound()
pcBound in interface JifProcedureInstancepublic void setPCBound(Label pcBound, boolean isDefault)
setPCBound in interface JifProcedureInstancepublic boolean isDefaultPCBound()
isDefaultPCBound in interface JifProcedureInstancepublic Label returnLabel()
returnLabel in interface JifProcedureInstancepublic void setReturnLabel(Label returnLabel, boolean isDefault)
setReturnLabel in interface JifProcedureInstancepublic boolean isDefaultReturnLabel()
isDefaultReturnLabel in interface JifProcedureInstancepublic Label returnValueLabel()
returnValueLabel in interface JifMethodInstancepublic java.util.List<Assertion> constraints()
constraints in interface JifProcedureInstancepublic void setConstraints(java.util.List<Assertion> constraints)
setConstraints in interface JifProcedureInstancepublic java.lang.String toString()
toString in class polyglot.types.MethodInstance_cpublic boolean isCanonical()
isCanonical in interface polyglot.types.TypeObjectisCanonical in class polyglot.types.MethodInstance_cpublic void subst(VarMap bounds)
subst in interface JifProcedureInstancepublic void subst(LabelSubstitution subst) throws polyglot.types.SemanticException
subst in interface JifProcedureInstancepolyglot.types.SemanticExceptionpublic java.lang.String debugString()
debugString in interface JifProcedureInstancepublic java.lang.String signature()
signature in interface polyglot.types.ProcedureInstancesignature in class polyglot.types.MethodInstance_cpublic java.lang.String fullSignature()
public ProviderLabel provider()
provider in interface JifProcedureInstance