< prev index next > src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java
Print this page
import java.lang.annotation.Annotation;
import java.lang.foreign.MemorySegment;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodType;
import java.lang.module.ModuleDescriptor;
+ import java.lang.reflect.ClassFileFormatVersion;
import java.lang.reflect.Executable;
import java.lang.reflect.Method;
import java.net.URI;
import java.nio.charset.CharacterCodingException;
import java.nio.charset.Charset;
* Creates a new StackWalker
*/
StackWalker newStackWalkerInstance(Set<StackWalker.Option> options,
ContinuationScope contScope,
Continuation continuation);
+
+ /**
+ * Returns the class file format version of the class.
+ */
+ int classFileFormatVersion(Class<?> klass);
+
/**
* Returns '<loader-name>' @<id> if classloader has a name
* explicitly set otherwise <qualified-class-name> @<id>
*/
String getLoaderNameID(ClassLoader loader);
< prev index next >