|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcucumber.runtime.java.MethodFormat
public class MethodFormat
Helper class for formatting a method signature to a shorter form.
Constructor Summary | |
---|---|
MethodFormat()
Creates an instance with default formatting. |
|
MethodFormat(java.lang.String format)
|
Method Summary | |
---|---|
java.lang.String |
format(java.lang.reflect.Method method)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodFormat()
public MethodFormat(java.lang.String format)
format
- the format string to use. There are several pattern tokens that can be used:
Method Detail |
---|
public java.lang.String format(java.lang.reflect.Method method)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |