Package kieker.common.util.signature
Class Signature
java.lang.Object
kieker.common.util.signature.Signature
A signature for a software operation. Note that this is just an operation signature declaration which is not bound to an implementing class or interface.
- Since:
- 1.1
- Author:
- Andre van Hoorn
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NO_RETURN_TYPE
This constant can be used to mark that a signature has no return type.- See Also:
-
CONSTRUCTOR_METHOD_NAME
- See Also:
-
-
Constructor Details
-
Signature
Please use the constantNO_RETURN_TYPEto indicate that the Signature contains no return type.- Parameters:
name- The name of the operation.modifierList- The list of modifiers of the operation.returnType- The return type of the operation. If this parameter is null, the return type will be set toNO_RETURN_TYPEparamTypeList- The list of parameters of the operation.s
-
-
Method Details
-
getName
-
getModifier
-
getParamTypeList
-
getReturnType
-
hasReturnType
public final boolean hasReturnType()Tells whether the current signature has a return type or not.- Returns:
- true if and only if the signature has a return type.
-
toString
-
hashCode
public int hashCode() -
equals
-