Package org.openjdk.asmtools.jasm

## Class CFVersion

- java.lang.Object
- - org.openjdk.asmtools.jasm.CFVersion

- All Implemented Interfaces:
    `java.lang.Cloneable`

      public class CFVersion
      extends java.lang.Object
      implements java.lang.Cloneable

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static short` | `DEFAULT_MAJOR_VERSION` | Default versions of class file
    `static short` | `DEFAULT_MINOR_VERSION` |
    `static short` | `DEFAULT_MODULE_MAJOR_VERSION` |
    `static short` | `DEFAULT_MODULE_MINOR_VERSION` |
    `static short` | `UNDEFINED_VERSION` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CFVersion()` |
    `CFVersion​(boolean frozenCFV, short major_version, short minor_version)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `asString()` |
    `CFVersion` | `clone()` |
    `void` | `initClassDefaults()` |
    `void` | `initModuleDefaults()` |
    `short` | `major_version()` |
    `short` | `minor_version()` |
    `void` | `setMajorVersion​(short major_version)` |
    `void` | `setMinorVersion​(short minor_version)` |

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### DEFAULT_MAJOR_VERSION

          public static final short DEFAULT_MAJOR_VERSION

      Default versions of class file
      See Also:
        Constant Field Values

    - #### DEFAULT_MINOR_VERSION

          public static final short DEFAULT_MINOR_VERSION

      See Also:
        Constant Field Values

    - #### DEFAULT_MODULE_MAJOR_VERSION

          public static final short DEFAULT_MODULE_MAJOR_VERSION

      See Also:
        Constant Field Values

    - #### DEFAULT_MODULE_MINOR_VERSION

          public static final short DEFAULT_MODULE_MINOR_VERSION

      See Also:
        Constant Field Values

    - #### UNDEFINED_VERSION

          public static final short UNDEFINED_VERSION

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### CFVersion

          public CFVersion()

    - #### CFVersion

          public CFVersion​(boolean frozenCFV,
                           short major_version,
                           short minor_version)

  - ### Method Detail

    - #### setMajorVersion

          public void setMajorVersion​(short major_version)

    - #### setMinorVersion

          public void setMinorVersion​(short minor_version)

    - #### asString

          public java.lang.String asString()

    - #### initModuleDefaults

          public void initModuleDefaults()

    - #### initClassDefaults

          public void initClassDefaults()

    - #### minor_version

          public short minor_version()

    - #### major_version

          public short major_version()

    - #### clone

          public CFVersion clone()

      Overrides:
        `clone` in class `java.lang.Object`