|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A ConstructorInstance contains type information for a
constructor.
| Method Summary | |
ConstructorInstance |
container(ClassType container)
Set the containing class of the constructor. |
ConstructorInstance |
flags(Flags flags)
Set the flags of the constructor. |
ConstructorInstance |
formalTypes(java.util.List l)
Set the types of the formal parameters of the constructor. |
ConstructorInstance |
throwTypes(java.util.List l)
Set the types of the exceptions thrown by the constructor. |
| Methods inherited from interface polyglot.types.ProcedureInstance |
callValid, callValidImpl, designator, formalTypes, hasFormals, hasFormalsImpl, moreSpecific, moreSpecificImpl, signature, throwsSubset, throwsSubsetImpl, throwTypes |
| 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 |
| Method Detail |
public ConstructorInstance flags(Flags flags)
public ConstructorInstance formalTypes(java.util.List l)
l - A list of Type.Typepublic ConstructorInstance throwTypes(java.util.List l)
l - A list of Type.Typepublic ConstructorInstance container(ClassType container)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||