Package net.bytebuddy
Interface ClassFileVersion.VersionLocator
- All Known Implementing Classes:
ClassFileVersion.VersionLocator.Resolved
,ClassFileVersion.VersionLocator.Unresolved
- Enclosing class:
ClassFileVersion
protected static interface ClassFileVersion.VersionLocator
A locator for the executing VM's Java version.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A version locator for a resolved class file version.static enum
A resolver for the current VM's class file version.static class
An unresolved version locator. -
Field Summary
Fields -
Method Summary
-
Field Details
-
EARLY_ACCESS
A suffix that might indicate an early access version of Java.- See Also:
-
INTERNAL
A suffix that might indicate an internal version of Java.- See Also:
-
JAVA_VERSION
The property for reading the current VM's Java version.- See Also:
-
-
Method Details
-
resolve
ClassFileVersion resolve()Locates the current VM's major version number.- Returns:
- The current VM's major version number.
-