- java.lang.Object
-
- sun.reflect.Reflection
-
public class Reflection extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Class<?>
getCallerClass(int depth)
Deprecated, for removal: This API element is subject to removal in a future version.This method is an internal API and will be removed. UseStackWalker
to walk the stack and obtain the caller class withStackWalker.StackFrame.getDeclaringClass()
instead.
-
-
-
Method Detail
-
getCallerClass
@Deprecated(forRemoval=true) public static Class<?> getCallerClass(int depth)
Deprecated, for removal: This API element is subject to removal in a future version. This method is an internal API and will be removed. UseStackWalker
to walk the stack and obtain the caller class withStackWalker.StackFrame.getDeclaringClass()
instead.
-
-