@Immutable public final class Method extends Object implements Comparable<Method>, Serializable, Writeable
Constructor and Description |
---|
Method(Class<?> clasz,
String methodName) |
Method(StackTraceElement elem) |
Method(String declaringClass,
String methodName) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Method o) |
boolean |
equals(Object obj) |
static Method |
from(CharSequence cs) |
static Method |
from(CharSequence cs,
int start,
int end) |
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)
Deprecated.
use writeTo.
|
void |
writeTo(Appendable w) |
public static final Method ROOT
public Method(StackTraceElement elem)
@Deprecated public void toWriter(Writer w) throws IOException
IOException
public void toHtmlWriter(Writer w) throws IOException
IOException
public static Method getMethod(StackTraceElement elem)
public void writeTo(Appendable w) throws IOException
writeTo
in interface Writeable
IOException
public static Method from(CharSequence cs)
public static Method from(CharSequence cs, int start, int end)
public int compareTo(Method o)
compareTo
in interface Comparable<Method>
Copyright © 2018 SPF4J. All rights reserved.