|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tentackle.util.ReflectionHelper
public class ReflectionHelper
Methods related to the reflection API.
| Constructor Summary | |
|---|---|
ReflectionHelper()
|
|
| Method Summary | |
|---|---|
static StackTraceElement |
getApplicationInvocation()
Gets the first invocation that does not start with any of the given package names. |
static StackTraceElement |
getApplicationInvocation(String[] excludePackages)
Gets the first invocation that does not start with any of the given package names. |
static String |
getApplicationInvocationString()
Gets the first invocation that does not start with any of the given package names. |
static StackTraceElement |
getInvocation()
Gets the stack trace element for the invoking method of the invoking method. |
static StackTraceElement |
getInvocation(int ndx)
Gets the stack trace element for some invoking method. |
static String |
makeDeclareString(String classname)
create a source-usable string from clazz.getName(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReflectionHelper()
| Method Detail |
|---|
public static StackTraceElement getInvocation(int ndx)
ndx - the index on the stack
public static StackTraceElement getInvocation()
public static StackTraceElement getApplicationInvocation(String[] excludePackages)
excludePackages - list of package names to exclude, null if none
public static StackTraceElement getApplicationInvocation()
public static String getApplicationInvocationString()
public static String makeDeclareString(String classname)
classname - the classname
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||