Class CallStack

java.lang.Object
java.lang.SecurityManager
org.immutables.processor.CallStack

public class CallStack extends SecurityManager
Provides classes (and not just class names) of the call stack.

NOTE: Extending SecurityManager is a convenient hack that works for Java 8 through 19. StackWalker would be preferred when the compatibility level gets raised to Java 9.

  • Constructor Details

    • CallStack

      public CallStack()
  • Method Details

    • getCallingClasses

      public Class<?>[] getCallingClasses()