@Immutable public final class Method extends Object
| Constructor and Description |
|---|
Method(Class<?> clasz,
String methodName) |
Method(StackTraceElement elem) |
Method(String declaringClass,
String methodName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDeclaringClass() |
static Method |
getMethod(StackTraceElement elem) |
static Method |
getMethod(String className,
String methodName) |
String |
getMethodName() |
int |
hashCode() |
void |
toHtmlWriter(Writer w) |
String |
toString() |
void |
toWriter(Writer w) |
Method |
withId(int pid) |
Method |
withNewId() |
public static final Method ROOT
public Method(StackTraceElement elem)
public String getDeclaringClass()
public String getMethodName()
public void toWriter(Writer w) throws IOException
IOExceptionpublic void toHtmlWriter(Writer w) throws IOException
IOExceptionpublic Method withId(int pid)
public Method withNewId()
public static Method getMethod(StackTraceElement elem)
Copyright © 2014. All rights reserved.