All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.lang.StackWalker Maven / Gradle / Ivy

The newest version!
package java.lang;

import java.util.function.Function;
import java.util.stream.Stream;

import sun.reflect.CallerSensitive;

/**
 * Stub for the Java 9 compatibility when compiled with JDK 8.
 */
public class StackWalker {

	public static StackWalker getInstance() {
		return null;
	}

	@CallerSensitive
	public  T walk(Function, ? extends T> function) {
		return null;
	}

	public interface StackFrame {
		String getClassName();

		String getMethodName();

		boolean isNativeMethod();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy