public final class CallingClassUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
getCallingClass()
Inspects the stack trace to return the class that calls this method, but
ignores every class annotated with @IgnoreAsCallingClass.
|
public static Class<?> getCallingClass()
IllegalStateException - if every method on the stack, is in a class
annotated with @IgnoreAsCallingClass.Copyright © 2009–2018 SciJava. All rights reserved.