Class StackUtils
java.lang.Object
com.formdev.flatlaf.ui.StackUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanwasInvokedFrom(String className, String methodName, int limit) Checks whether current method was invoked from the given class and method.static booleanwasInvokedFrom(BiPredicate<String, String> predicate, int limit) Checks whether current method was invoked from a class and method using the given predicate, which gets the class name of the stack frame as first parameter and the method name as second parameter.
-
Method Details
-
wasInvokedFrom
-
wasInvokedFrom
Checks whether current method was invoked from a class and method using the given predicate, which gets the class name of the stack frame as first parameter and the method name as second parameter.
-