|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.upb.hni.vmagic.VhdlElement
de.upb.hni.vmagic.Signature
public class Signature
Signature.
Constructor Summary | |
---|---|
Signature()
Creates an empty signature. |
|
Signature(java.util.List<SubtypeIndication> parameterTypes)
Creates a signature with a list of parameter types. |
|
Signature(SubtypeIndication returnType)
Creates a signature with a return type. |
|
Signature(SubtypeIndication returnType,
java.util.List<SubtypeIndication> parameterTypes)
Creates a signature with a return type and a list of parameter types. |
|
Signature(SubtypeIndication returnType,
SubtypeIndication... parameterTypes)
Creates a signature with a return type and a variable number of parameter types. |
Method Summary | |
---|---|
java.util.List<SubtypeIndication> |
getParameterTypes()
Returns a list of parameter types. |
SubtypeIndication |
getReturnType()
Returns the return type of this signature. |
void |
setReturnType(SubtypeIndication returnType)
Sets the return type of this signature. |
Methods inherited from class de.upb.hni.vmagic.VhdlElement |
---|
getParent, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Signature()
public Signature(SubtypeIndication returnType, SubtypeIndication... parameterTypes)
returnType
- the return typeparameterTypes
- the parameter typespublic Signature(SubtypeIndication returnType, java.util.List<SubtypeIndication> parameterTypes)
returnType
- the return typeparameterTypes
- the list of parameter typespublic Signature(SubtypeIndication returnType)
returnType
- the return type.public Signature(java.util.List<SubtypeIndication> parameterTypes)
parameterTypes
- the list of parameter typesMethod Detail |
---|
public SubtypeIndication getReturnType()
null
if no return type is setpublic void setReturnType(SubtypeIndication returnType)
returnType
- the return type or null
to remove the return typepublic java.util.List<SubtypeIndication> getParameterTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |