public class Signature
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONSTRUCTOR_METHOD_NAME |
static java.lang.String |
NO_RETURN_TYPE
This constant can be used to mark that a signature has no return type.
|
Constructor and Description |
---|
Signature(java.lang.String name,
java.lang.String[] modifierList,
java.lang.String returnType,
java.lang.String[] paramTypeList)
Please use the constant
NO_RETURN_TYPE to indicate that the Signature contains no return type. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String[] |
getModifier() |
java.lang.String |
getName() |
java.lang.String[] |
getParamTypeList() |
java.lang.String |
getReturnType() |
int |
hashCode() |
boolean |
hasReturnType()
Tells whether the current signature has a return type or not.
|
java.lang.String |
toString() |
public static final java.lang.String NO_RETURN_TYPE
public static final java.lang.String CONSTRUCTOR_METHOD_NAME
public Signature(java.lang.String name, java.lang.String[] modifierList, java.lang.String returnType, java.lang.String[] paramTypeList)
NO_RETURN_TYPE
to indicate that the Signature contains no return type.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 to NO_RETURN_TYPE
paramTypeList
- The list of parameters of the operation.spublic final java.lang.String getName()
public final java.lang.String[] getModifier()
public final java.lang.String[] getParamTypeList()
public final java.lang.String getReturnType()
public final boolean hasReturnType()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright 2017 Kieker Project, http://kieker-monitoring.net