Top Description Constructors Methods
org.glassfish.jaxb.core

pack-priv final Class StackHelper

extends Object
Class Inheritance
Imports
java.lang.StackWalker.StackFrame

Utils for stack trace analysis in Java 9+.
Author
Philippe Marschall

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static String

Returns:

the name of the caller class
getCallerClassName
()

Returns the name of the calling class of the second method in the call chain of this method.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

StackHelperback to summary
private StackHelper()

Method Detail

getCallerClassNameback to summary
pack-priv static String getCallerClassName()

Returns the name of the calling class of the second method in the call chain of this method.

Returns:String

the name of the caller class

Exceptions
SecurityException:
in case a security manager is installed that prevents stack introspection