# Uses of Enum Class
java.lang.reflect.ClassFileFormatVersion

Packages that use ClassFileFormatVersion
Package
Description
java.lang.reflect
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.reflect
  Modifier and Type
  Class
  Description
  `enum`
  `ClassFileFormatVersion`
  Class file format versions of the Java virtual machine.
  Methods in java.lang.reflect that return ClassFileFormatVersion
  Modifier and Type
  Method
  Description
  `static 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`
  ClassFileFormatVersion.`valueOf(String name)`
  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 ClassFileFormatVersion
  Modifier and Type
  Method
  Description
  `Set<AccessFlag>`
  AccessFlag.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.
  `Set<AccessFlag.Location>`
  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.