Class MethodToStringBuilderImpl
java.lang.Object
org.apache.fulcrum.yaafi.interceptor.util.MethodToStringBuilderImpl
- All Implemented Interfaces:
InterceptorToStringBuilder
Creates a string representation of java.lang.reflect.Method
- Author:
- Siegfried Goeschl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
include the method return type -
Constructor Summary
ConstructorsConstructorDescriptionConstructorMethodToStringBuilderImpl
(Method method) ConstructorMethodToStringBuilderImpl
(Method method, int mode) Constructor -
Method Summary
-
Field Details
-
INCLUDE_RETURNTYPE
public static final int INCLUDE_RETURNTYPEinclude the method return type- See Also:
-
-
Constructor Details
-
MethodToStringBuilderImpl
public MethodToStringBuilderImpl()Constructor -
MethodToStringBuilderImpl
Constructor- Parameters:
method
- the method to print
-
MethodToStringBuilderImpl
Constructor- Parameters:
method
- the method to printmode
- the formatting mode
-
-
Method Details
-
setMaxArgLength
public void setMaxArgLength(int maxArgLength) - Specified by:
setMaxArgLength
in interfaceInterceptorToStringBuilder
- Parameters:
maxArgLength
- The maxArgLength to set.- See Also:
-
setMode
public void setMode(int mode) - Specified by:
setMode
in interfaceInterceptorToStringBuilder
- Parameters:
mode
- Set the formatting mode to use- See Also:
-
setTarget
- Specified by:
setTarget
in interfaceInterceptorToStringBuilder
- Parameters:
target
- The target to set.- See Also:
-
toString
-