private static int getContextSize() { return CALLER_RESOLVER.getClassContext().length - CALL_CONTEXT_OFFSET; }
public static Class getCallingClass() { return CallerResolver.getCallerClass(2); }
/* * Indexes into the current method call context with a given * offset. */ private static Class getCallerClass(int callerOffset) { return CALLER_RESOLVER.getClassContext()[CALL_CONTEXT_OFFSET + callerOffset]; }