jasco.runtime.connector
Class MethodSignature
java.lang.Object
jasco.runtime.connector.MethodSignature
- All Implemented Interfaces:
- ISignatureMatcher
public class MethodSignature
- extends java.lang.Object
- implements ISignatureMatcher
- Author:
- Wim
Constructor Summary |
MethodSignature(java.lang.String returnType,
java.lang.String type,
java.lang.String methodname)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MethodSignature
public MethodSignature(java.lang.String returnType,
java.lang.String type,
java.lang.String methodname)
matchesJoinpoint
public boolean matchesJoinpoint(MethodJoinpoint jp)
- Specified by:
matchesJoinpoint
in interface ISignatureMatcher
matchesClass
public boolean matchesClass(java.lang.String clzName,
java.lang.ClassLoader classLoader)
- Specified by:
matchesClass
in interface ISignatureMatcher
matchesClass
public boolean matchesClass(java.lang.String clzName)
- Specified by:
matchesClass
in interface ISignatureMatcher
matchesClass
public boolean matchesClass(java.lang.String clzName,
javassist.ClassPool pool)
- Specified by:
matchesClass
in interface ISignatureMatcher
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getVariableString
public java.lang.String getVariableString()
getVariableString
public java.lang.String getVariableString(MethodJoinpoint jp)
getAnnotations
public java.util.Iterator getAnnotations()
getArguments
public java.util.Iterator getArguments()
addAnnotation
protected void addAnnotation(java.lang.String annotation)
addArgument
protected void addArgument(java.lang.String argument)
isMatchSubTypes
public boolean isMatchSubTypes()
- Returns:
- Returns the matchSubTypes.
setMatchSubTypes
protected void setMatchSubTypes(boolean matchSubTypes)
- Parameters:
matchSubTypes
- The matchSubTypes to set.
getMethodname
public java.lang.String getMethodname()
- Returns:
- Returns the methodname.
setMethodname
protected void setMethodname(java.lang.String methodname)
- Parameters:
methodname
- The methodname to set.
getReturnType
public java.lang.String getReturnType()
- Returns:
- Returns the returnType.
setReturnType
protected void setReturnType(java.lang.String returnType)
- Parameters:
returnType
- The returnType to set.
getType
public java.lang.String getType()
- Returns:
- Returns the type.
setType
protected void setType(java.lang.String type)
- Parameters:
type
- The type to set.
build
public static MethodSignature build(java.lang.String returnType,
java.lang.String type,
java.lang.String methodName,
java.lang.String[] arguments,
java.lang.String[] annotations,
boolean matchSubtypes)
getSignatures
public java.util.Iterator getSignatures()
- Specified by:
getSignatures
in interface ISignatureMatcher