Package gw.internal.gosu.parser
Class JavaMethodCache
java.lang.Object
gw.internal.gosu.parser.JavaMethodCache
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interface
private static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static LockingLazyVar<JavaMethodCache.DeclaredMethodsAccessor>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
This method is not normally required.static Method[]
getDeclaredMethods
(Class clz) static Throwable
getRootCause
(Throwable throwable) Traverse exception chain to return the root cause.
-
Field Details
-
DECLARED_METHOD_CACHE
-
_declaredMethodsAccessor
-
-
Constructor Details
-
JavaMethodCache
public JavaMethodCache()
-
-
Method Details
-
flushCaches
public static void flushCaches()This method is not normally required. It is normally only needed by advanced tools that update existing "Class" objects in-place and need to re-analyze existing Class objects. -
getDeclaredMethods
-
getRootCause
Traverse exception chain to return the root cause.- Parameters:
throwable
- The top-level exception in the chain- Returns:
- The root (or top-level if none chained)
-