Package akka.util
Class Reflect$
- java.lang.Object
-
- akka.util.Reflect$
-
public class Reflect$ extends java.lang.ObjectCollection of internal reflection utilities which may or may not be available (most services specific to HotSpot, but fails gracefully).INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description Reflect$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.TypefindMarker(java.lang.Class<?> root, java.lang.Class<?> marker)scala.Option<scala.Function1<java.lang.Object,java.lang.Class<?>>>getCallerClass()This optionally holds a function which looks N levels above itself on the call stack and returns theClass[_]object for the code executing in that stack frame.
-
-
-
Field Detail
-
MODULE$
public static final Reflect$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
getCallerClass
public scala.Option<scala.Function1<java.lang.Object,java.lang.Class<?>>> getCallerClass()
This optionally holds a function which looks N levels above itself on the call stack and returns theClass[_]object for the code executing in that stack frame. Implemented usingsun.reflect.Reflection.getCallerClassif available, None otherwise.Hint: when comparing to Thread.currentThread().getStackTrace, add two levels.
-
findMarker
public java.lang.reflect.Type findMarker(java.lang.Class<?> root, java.lang.Class<?> marker)
-
-