public class TracedMethod extends Object
| Modifier and Type | Method and Description |
|---|---|
Class |
getDeclaringClass()
Returns the method's declaring class, or null if garbage collected.
|
int |
getMethodId() |
String |
getMethodName()
Returns the method's name, or null if a constructor.
|
String |
getOperation()
Returns the optional traced method operation.
|
Class[] |
getParameterTypes()
Returns the method's parameter types, which may contain null elements if they have
been garbage collected.
|
Class |
getReturnType()
Returns the method's return type, which is null if void or if class has
been garbage collected.
|
boolean |
isConstructor()
Returns true if traced method is a constructor.
|
boolean |
isGraft() |
static boolean |
isGraft(int mid) |
boolean |
isRoot() |
static boolean |
isRoot(int mid) |
boolean |
isStatic()
Returns true if traced method is static.
|
boolean |
isVoid()
Returns true if the method returns void.
|
String |
toString() |
public static boolean isRoot(int mid)
mid - method identifierpublic static boolean isGraft(int mid)
mid - method identifierpublic String getOperation()
public boolean isConstructor()
public boolean isStatic()
public Class getDeclaringClass()
public String getMethodName()
public Class getReturnType()
public boolean isVoid()
public Class[] getParameterTypes()
public boolean isRoot()
public boolean isGraft()
public int getMethodId()
Copyright © 2006–2015 Cojen. All rights reserved.