polyglot.ext.coffer.types
Class CofferConstructorInstance_c

java.lang.Object
  extended by polyglot.ext.jl.types.TypeObject_c
      extended by polyglot.ext.jl.types.ProcedureInstance_c
          extended by polyglot.ext.jl.types.ConstructorInstance_c
              extended by polyglot.ext.coffer.types.CofferConstructorInstance_c
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, CofferConstructorInstance, CofferProcedureInstance, CodeInstance, ConstructorInstance, MemberInstance, ProcedureInstance, TypeObject, Copy

public class CofferConstructorInstance_c
extends ConstructorInstance_c
implements CofferConstructorInstance

An implementation of the CofferConstructorInstance interface.

See Also:
Serialized Form

Nested Class Summary
 class CofferConstructorInstance_c.GetType
           
 
Field Summary
protected  KeySet entryKeys
           
protected  KeySet returnKeys
           
protected  java.util.List throwConstraints
           
 
Fields inherited from class polyglot.ext.jl.types.ProcedureInstance_c
container, excTypes, flags, formalTypes
 
Fields inherited from class polyglot.ext.jl.types.TypeObject_c
position, ts
 
Constructor Summary
CofferConstructorInstance_c(CofferTypeSystem ts, Position pos, ClassType container, Flags flags, java.util.List argTypes, KeySet entryKeys, KeySet returnKeys, java.util.List throwConstraints)
           
 
Method Summary
 KeySet entryKeys()
           
 CofferProcedureInstance entryKeys(KeySet entryKeys)
           
 KeySet returnKeys()
           
 CofferProcedureInstance returnKeys(KeySet returnKeys)
           
 java.util.List throwConstraints()
           
 CofferProcedureInstance throwConstraints(java.util.List throwConstraints)
           
 java.util.List throwTypes()
          List of declared exception types thrown.
 ConstructorInstance throwTypes(java.util.List throwTypes)
          Set the types of the exceptions thrown by the constructor.
 java.lang.String toString()
           
 
Methods inherited from class polyglot.ext.jl.types.ConstructorInstance_c
container, designator, equalsImpl, flags, formalTypes, isCanonical, signature
 
Methods inherited from class polyglot.ext.jl.types.ProcedureInstance_c
callValid, callValidImpl, container, flags, formalTypes, hasFormals, hasFormalsImpl, hashCode, listIsCanonical, moreSpecific, moreSpecificImpl, throwsSubset, throwsSubsetImpl
 
Methods inherited from class polyglot.ext.jl.types.TypeObject_c
copy, equals, position, typeSystem
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface polyglot.types.ConstructorInstance
container, flags, formalTypes
 
Methods inherited from interface polyglot.types.ProcedureInstance
callValid, callValidImpl, designator, formalTypes, hasFormals, hasFormalsImpl, moreSpecific, moreSpecificImpl, signature, throwsSubset, throwsSubsetImpl
 
Methods inherited from interface polyglot.types.MemberInstance
container, flags
 
Methods inherited from interface polyglot.types.TypeObject
equalsImpl, isCanonical, position, typeSystem
 
Methods inherited from interface polyglot.util.Copy
copy
 
Methods inherited from interface polyglot.types.ProcedureInstance
callValid, callValidImpl, designator, formalTypes, hasFormals, hasFormalsImpl, moreSpecific, moreSpecificImpl, signature, throwsSubset, throwsSubsetImpl
 
Methods inherited from interface polyglot.types.MemberInstance
container, flags
 
Methods inherited from interface polyglot.types.TypeObject
equalsImpl, isCanonical, position, typeSystem
 
Methods inherited from interface polyglot.util.Copy
copy
 

Field Detail

entryKeys

protected KeySet entryKeys

returnKeys

protected KeySet returnKeys

throwConstraints

protected java.util.List throwConstraints
Constructor Detail

CofferConstructorInstance_c

public CofferConstructorInstance_c(CofferTypeSystem ts,
                                   Position pos,
                                   ClassType container,
                                   Flags flags,
                                   java.util.List argTypes,
                                   KeySet entryKeys,
                                   KeySet returnKeys,
                                   java.util.List throwConstraints)
Method Detail

entryKeys

public KeySet entryKeys()
Specified by:
entryKeys in interface CofferProcedureInstance

returnKeys

public KeySet returnKeys()
Specified by:
returnKeys in interface CofferProcedureInstance

throwConstraints

public java.util.List throwConstraints()
Specified by:
throwConstraints in interface CofferProcedureInstance

throwTypes

public java.util.List throwTypes()
Description copied from interface: ProcedureInstance
List of declared exception types thrown.

Specified by:
throwTypes in interface ProcedureInstance
Overrides:
throwTypes in class ProcedureInstance_c
Returns:
A list of Type.
See Also:
Type

throwTypes

public ConstructorInstance throwTypes(java.util.List throwTypes)
Description copied from interface: ConstructorInstance
Set the types of the exceptions thrown by the constructor.

Specified by:
throwTypes in interface ConstructorInstance
Overrides:
throwTypes in class ConstructorInstance_c
Parameters:
throwTypes - A list of Type.
See Also:
Type

entryKeys

public CofferProcedureInstance entryKeys(KeySet entryKeys)
Specified by:
entryKeys in interface CofferProcedureInstance

returnKeys

public CofferProcedureInstance returnKeys(KeySet returnKeys)
Specified by:
returnKeys in interface CofferProcedureInstance

throwConstraints

public CofferProcedureInstance throwConstraints(java.util.List throwConstraints)
Specified by:
throwConstraints in interface CofferProcedureInstance

toString

public java.lang.String toString()
Overrides:
toString in class ConstructorInstance_c