|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.common.util.signature.ClassOperationSignaturePair
public class ClassOperationSignaturePair
This class represents a pair containing the classname and the signature of an operation.
Constructor Summary | |
---|---|
ClassOperationSignaturePair(String fqClassname,
Signature signature)
Creates a new instance of this class using the given parameters. |
Method Summary | |
---|---|
static String |
createOperationSignatureString(String fqClassName,
Signature signature)
Given a fully-qualified class name fqClassName (e.g., a.b.c.D ) and a Signature (e.g., for operation op1 with
modifiers public and static , the return type Boolean , and the parameter types Integer and
Long ), the method returns an operation signature string (e.g., public static Boolean a.b.c.D.op1(Integer, Long) ). |
boolean |
equals(Object obj)
|
String |
getFqClassname()
Delivers the fully qualified class name. |
String |
getPackageName()
This method delivers the package name of the class. |
Signature |
getSignature()
Delivers the signature. |
String |
getSimpleClassname()
This method delivers a simplified version of the fully qualified class name. |
int |
hashCode()
|
static ClassOperationSignaturePair |
splitOperationSignatureStr(String operationSignatureStr)
Extracts an ClassOperationSignaturePair from an operation signature string (e.g., public static Boolean a.b.c.D.op1(Integer, Long) ). |
static ClassOperationSignaturePair |
splitOperationSignatureStr(String operationSignatureStr,
boolean javaConstructor)
|
String |
toOperationSignatureString()
This method assembles an operation signature string from the current fields. |
String |
toString()
Returns a String representation of this ClassOperationSignaturePair using the createOperationSignatureString(String, Signature) method. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassOperationSignaturePair(String fqClassname, Signature signature)
fqClassname
- The fully qualified name of the class.signature
- The signature.Method Detail |
---|
public String getFqClassname()
public Signature getSignature()
public String getSimpleClassname()
public String getPackageName()
public String toOperationSignatureString()
public static ClassOperationSignaturePair splitOperationSignatureStr(String operationSignatureStr)
ClassOperationSignaturePair
from an operation signature string (e.g., public static Boolean a.b.c.D.op1(Integer, Long)
).
Modifier list, return type, and parameter list wrapped by parentheses are optional. But note that a return type must be given if one or more modifiers are
present.
operationSignatureStr
- The signature string.
ClassOperationSignaturePair
extracted from the given string.public static ClassOperationSignaturePair splitOperationSignatureStr(String operationSignatureStr, boolean javaConstructor)
public static String createOperationSignatureString(String fqClassName, Signature signature)
a.b.c.D
) and a Signature
(e.g., for operation op1
with
modifiers public
and static
, the return type Boolean
, and the parameter types Integer
and
Long
), the method returns an operation signature string (e.g., public static Boolean a.b.c.D.op1(Integer, Long)
).
fqClassName
- The fully qualified class name.signature
- The signature string.
public String toString()
ClassOperationSignaturePair
using the createOperationSignatureString(String, Signature)
method.
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |