public static boolean wasInvokedFrom( String className, String methodName, int limit ) {
		return wasInvokedFrom( (c,m) -> c.equals( className ) && m.equals( methodName ), limit );
	}
Checks whether current method was invoked from the given class and method.
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/StackUtils.java