package nxm.sys.lib;

import java.lang.reflect.InvocationTargetException;

/** ************ VERSION FOR UP TO AND INCLUDING JDK8 ***************
 *  Methods related to inspection of the call stack and that are
 *  compatible with jdk8 have been moved into a Swap class to enable
 *  automatic swapping of jdk8 compatible code.
 *
 *  @author J. Czechowski
 *  @since  NeXtMidas 3.9.0, but moved in NeXtMidas 4.1.1
 */
class CallStackUtilJDKSwap {

  /** Indicates if using JDK8 compatible code */
  static final boolean JDK8_CALLSTACKUTIL = true;

  static StackTraceElement getStackTraceElementJava9ByClass (Class<?> self)
      throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
     return null;
  }

  static StackTraceElement getStackTraceElementJava9 (Class<?> self, Class<?> expectType) {
     return null;
  }
}