Uses of Enum Class
java.lang.reflect.ClassFileFormatVersion
Packages that use ClassFileFormatVersion
Package
Description
Provides classes and interfaces for obtaining reflective information about
classes and objects.
-
Uses of ClassFileFormatVersion in java.lang.reflect
Subclasses with type arguments of type ClassFileFormatVersion in java.lang.reflectModifier and TypeClassDescriptionenum
Class file format versions of the Java virtual machine.Methods in java.lang.reflect that return ClassFileFormatVersionModifier and TypeMethodDescriptionstatic ClassFileFormatVersion
ClassFileFormatVersion.fromMajor
(int major) Returns the latest class file format version whose major class file version matches the argument.static ClassFileFormatVersion
ClassFileFormatVersion.latest()
Returns the latest class file format version.static ClassFileFormatVersion
ClassFileFormatVersion.valueOf
(Runtime.Version rv) Returns the latest class file format version that is usable under the runtime version argument.static ClassFileFormatVersion
Returns the enum constant of this class with the specified name.static ClassFileFormatVersion[]
ClassFileFormatVersion.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in java.lang.reflect with parameters of type ClassFileFormatVersionModifier and TypeMethodDescriptionAccessFlag.Location.flags
(ClassFileFormatVersion cffv) Returns the set of access flags defined for this location in the given class file format version.int
AccessFlag.Location.flagsMask
(ClassFileFormatVersion cffv) Returns the union of masks of all access flags defined for this location in the given class file format version.AccessFlag.locations
(ClassFileFormatVersion cffv) Returns locations this flag can be applied to in the given class file format version.static Set
<AccessFlag> AccessFlag.maskToAccessFlags
(int mask, AccessFlag.Location location, ClassFileFormatVersion cffv) Returns an unmodifiable set of access flags for the given mask value appropriate for the location in the given class file format version.