Package org.openjdk.asmtools.jasm

## Enum JasmTokens.Token

- java.lang.Object
- - java.lang.Enum<JasmTokens.Token>
  - - org.openjdk.asmtools.jasm.JasmTokens.Token

- All Implemented Interfaces:
    `java.io.Serializable`, `java.lang.Comparable<JasmTokens.Token>`
  Enclosing class:
    JasmTokens

      public static enum JasmTokens.Token
      extends java.lang.Enum<JasmTokens.Token>

  Scanner Tokens (Definitive List)

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---
    `ABSTRACT` |
    `ADD` |
    `AND` |
    `ANNOTATION` |
    `ANNOTATION_ACCESS` |
    `ARRAY` |
    `ARRAY_TYPEPATH` |
    `ARRAYACCESS` |
    `ASGADD` |
    `ASGBITAND` |
    `ASGBITOR` |
    `ASGBITXOR` |
    `ASGDIV` |
    `ASGLSHIFT` |
    `ASGMUL` |
    `ASGREM` |
    `ASGRSHIFT` |
    `ASGSUB` |
    `ASGURSHIFT` |
    `ASSIGN` |
    `AT_SIGN` |
    `BITAND` |
    `BITNOT` |
    `BITOR` |
    `BITS` |
    `BITXOR` |
    `BOOLEAN` |
    `BOOLEANVAL` |
    `BOOTSTRAPMETHOD` |
    `BREAK` |
    `BRIDGE` |
    `BYTE` |
    `BYTEVAL` |
    `CASE` |
    `CAST` |
    `CATCH` |
    `CHAR` |
    `CHARVAL` |
    `CLASS` |
    `COLON` |
    `COMMA` |
    `COMMENT` |
    `COMPONENT` |
    `COND` |
    `CONST` |
    `CONTINUE` |
    `CONVERT` |
    `CPINDEX` |
    `CPNAME` |
    `DEC` |
    `DECLARATION` |
    `DEFAULT` |
    `DEPRECATED` |
    `DIV` |
    `DO` |
    `DOUBLE` |
    `DOUBLEVAL` |
    `ELSE` |
    `ENUM` |
    `EOF` |
    `EQ` |
    `ERROR` |
    `ESCAPED_ATSIGH` |
    `ESCAPED_BACKSLASH` |
    `ESCAPED_COLON` |
    `EXPORTS` |
    `EXPR` |
    `EXPRESSION` |
    `EXTENDS` |
    `FALSE` |
    `FIELD` |
    `FIELDREF` |
    `FINAL` |
    `FINALLY` |
    `FLOAT` |
    `FLOATVAL` |
    `FOR` |
    `GE` |
    `GOTO` |
    `GT` |
    `IDENT` |
    `IF` |
    `IMPLEMENTS` |
    `IMPORT` |
    `INC` |
    `INF` |
    `INLINEMETHOD` |
    `INLINENEWINSTANCE` |
    `INLINERETURN` |
    `INNER_TYPE_TYPEPATH` |
    `INNERCLASS` |
    `INSTANCEOF` |
    `INT` |
    `INTERFACE` |
    `INTVAL` |
    `LBRACE` |
    `LE` |
    `LENGTH` |
    `LOCAL` |
    `LONG` |
    `LONGVAL` |
    `LPAREN` |
    `LSHIFT` |
    `LSQBRACKET` |
    `LT` |
    `MANDATED` |
    `METHOD` |
    `METHODREF` |
    `MODULE` |
    `MUL` |
    `NAN` |
    `NATIVE` |
    `NE` |
    `NEG` |
    `NESTHOST` |
    `NESTMEMBERS` |
    `NEW` |
    `NEWARRAY` |
    `NEWFROMNAME` |
    `NEWINSTANCE` |
    `NOT` |
    `NULL` |
    `OF` |
    `OPEN` |
    `OPENS` |
    `OR` |
    `PACKAGE` |
    `PARAM_NAME` |
    `PERMITTEDSUBCLASSES` |
    `POS` |
    `POSTDEC` |
    `POSTINC` |
    `PREDEC` |
    `PREINC` |
    `PRIVATE` |
    `PROTECTED` |
    `PROVIDES` |
    `PUBLIC` |
    `QUESTIONMARK` |
    `RBRACE` |
    `RECORD` |
    `REM` |
    `REQUIRES` |
    `RETURN` |
    `RPAREN` |
    `RSHIFT` |
    `RSQBRACKET` |
    `SEMICOLON` |
    `SHORT` |
    `SHORTVAL` |
    `SIGN` |
    `STACK` |
    `STAT` |
    `STATIC` |
    `STRICT` |
    `STRINGVAL` |
    `SUB` |
    `SUPER` |
    `SWITCH` |
    `SYNCHRONIZED` |
    `SYNTHETIC` |
    `THIS` |
    `THROW` |
    `THROWS` |
    `TO` |
    `TRANSIENT` |
    `TRANSITIVE` |
    `TRUE` |
    `TRY` |
    `TYPE` |
    `TYPE_ARGUMENT_TYPEPATH` |
    `URSHIFT` |
    `USES` |
    `VARARGS` |
    `VARDECLARATION` |
    `VERSION` |
    `VOID` |
    `VOLATILE` |
    `WHILE` |
    `WILDCARD_TYPEPATH` |
    `WITH` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static java.util.Optional<JasmTokens.Token>` | `get​(java.lang.String parsekey, JasmTokens.KeywordType ktype)` |
    `java.lang.String` | `parseKey()` |
    `boolean` | `possibleJasmIdentifier()` |
    `boolean` | `possibleModuleName()` |
    `boolean` | `possibleTypePathKind()` | Checks a token belonging to the table: Table 4.7.20.2-A.
    `java.lang.String` | `printValue()` |
    `java.lang.String` | `toString()` |
    `int` | `value()` |
    `static JasmTokens.Token` | `valueOf​(java.lang.String name)` | Returns the enum constant of this type with the specified name.
    `static JasmTokens.Token[]` | `values()` | Returns an array containing the constants of this enum type, in the order they are declared.

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

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf`

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

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### EOF

          public static final JasmTokens.Token EOF

    - #### COMMA

          public static final JasmTokens.Token COMMA

    - #### ASSIGN

          public static final JasmTokens.Token ASSIGN

    - #### ASGMUL

          public static final JasmTokens.Token ASGMUL

    - #### ASGDIV

          public static final JasmTokens.Token ASGDIV

    - #### ASGREM

          public static final JasmTokens.Token ASGREM

    - #### ASGADD

          public static final JasmTokens.Token ASGADD

    - #### ASGSUB

          public static final JasmTokens.Token ASGSUB

    - #### ASGLSHIFT

          public static final JasmTokens.Token ASGLSHIFT

    - #### ASGRSHIFT

          public static final JasmTokens.Token ASGRSHIFT

    - #### ASGURSHIFT

          public static final JasmTokens.Token ASGURSHIFT

    - #### ASGBITAND

          public static final JasmTokens.Token ASGBITAND

    - #### ASGBITOR

          public static final JasmTokens.Token ASGBITOR

    - #### ASGBITXOR

          public static final JasmTokens.Token ASGBITXOR

    - #### COND

          public static final JasmTokens.Token COND

    - #### OR

          public static final JasmTokens.Token OR

    - #### AND

          public static final JasmTokens.Token AND

    - #### BITOR

          public static final JasmTokens.Token BITOR

    - #### BITXOR

          public static final JasmTokens.Token BITXOR

    - #### BITAND

          public static final JasmTokens.Token BITAND

    - #### NE

          public static final JasmTokens.Token NE

    - #### EQ

          public static final JasmTokens.Token EQ

    - #### GE

          public static final JasmTokens.Token GE

    - #### GT

          public static final JasmTokens.Token GT

    - #### LE

          public static final JasmTokens.Token LE

    - #### LT

          public static final JasmTokens.Token LT

    - #### INSTANCEOF

          public static final JasmTokens.Token INSTANCEOF

    - #### LSHIFT

          public static final JasmTokens.Token LSHIFT

    - #### RSHIFT

          public static final JasmTokens.Token RSHIFT

    - #### URSHIFT

          public static final JasmTokens.Token URSHIFT

    - #### ADD

          public static final JasmTokens.Token ADD

    - #### SUB

          public static final JasmTokens.Token SUB

    - #### DIV

          public static final JasmTokens.Token DIV

    - #### REM

          public static final JasmTokens.Token REM

    - #### MUL

          public static final JasmTokens.Token MUL

    - #### CAST

          public static final JasmTokens.Token CAST

    - #### POS

          public static final JasmTokens.Token POS

    - #### NEG

          public static final JasmTokens.Token NEG

    - #### NOT

          public static final JasmTokens.Token NOT

    - #### BITNOT

          public static final JasmTokens.Token BITNOT

    - #### PREINC

          public static final JasmTokens.Token PREINC

    - #### PREDEC

          public static final JasmTokens.Token PREDEC

    - #### NEWARRAY

          public static final JasmTokens.Token NEWARRAY

    - #### NEWINSTANCE

          public static final JasmTokens.Token NEWINSTANCE

    - #### NEWFROMNAME

          public static final JasmTokens.Token NEWFROMNAME

    - #### POSTINC

          public static final JasmTokens.Token POSTINC

    - #### POSTDEC

          public static final JasmTokens.Token POSTDEC

    - #### FIELD

          public static final JasmTokens.Token FIELD

    - #### METHOD

          public static final JasmTokens.Token METHOD

    - #### ARRAYACCESS

          public static final JasmTokens.Token ARRAYACCESS

    - #### NEW

          public static final JasmTokens.Token NEW

    - #### INC

          public static final JasmTokens.Token INC

    - #### DEC

          public static final JasmTokens.Token DEC

    - #### CONVERT

          public static final JasmTokens.Token CONVERT

    - #### EXPR

          public static final JasmTokens.Token EXPR

    - #### ARRAY

          public static final JasmTokens.Token ARRAY

    - #### GOTO

          public static final JasmTokens.Token GOTO

    - #### IDENT

          public static final JasmTokens.Token IDENT

    - #### BOOLEANVAL

          public static final JasmTokens.Token BOOLEANVAL

    - #### BYTEVAL

          public static final JasmTokens.Token BYTEVAL

    - #### CHARVAL

          public static final JasmTokens.Token CHARVAL

    - #### SHORTVAL

          public static final JasmTokens.Token SHORTVAL

    - #### INTVAL

          public static final JasmTokens.Token INTVAL

    - #### LONGVAL

          public static final JasmTokens.Token LONGVAL

    - #### FLOATVAL

          public static final JasmTokens.Token FLOATVAL

    - #### DOUBLEVAL

          public static final JasmTokens.Token DOUBLEVAL

    - #### STRINGVAL

          public static final JasmTokens.Token STRINGVAL

    - #### BYTE

          public static final JasmTokens.Token BYTE

    - #### CHAR

          public static final JasmTokens.Token CHAR

    - #### SHORT

          public static final JasmTokens.Token SHORT

    - #### INT

          public static final JasmTokens.Token INT

    - #### LONG

          public static final JasmTokens.Token LONG

    - #### FLOAT

          public static final JasmTokens.Token FLOAT

    - #### DOUBLE

          public static final JasmTokens.Token DOUBLE

    - #### VOID

          public static final JasmTokens.Token VOID

    - #### BOOLEAN

          public static final JasmTokens.Token BOOLEAN

    - #### TRUE

          public static final JasmTokens.Token TRUE

    - #### FALSE

          public static final JasmTokens.Token FALSE

    - #### THIS

          public static final JasmTokens.Token THIS

    - #### SUPER

          public static final JasmTokens.Token SUPER

    - #### NULL

          public static final JasmTokens.Token NULL

    - #### IF

          public static final JasmTokens.Token IF

    - #### ELSE

          public static final JasmTokens.Token ELSE

    - #### FOR

          public static final JasmTokens.Token FOR

    - #### WHILE

          public static final JasmTokens.Token WHILE

    - #### DO

          public static final JasmTokens.Token DO

    - #### SWITCH

          public static final JasmTokens.Token SWITCH

    - #### CASE

          public static final JasmTokens.Token CASE

    - #### DEFAULT

          public static final JasmTokens.Token DEFAULT

    - #### BREAK

          public static final JasmTokens.Token BREAK

    - #### CONTINUE

          public static final JasmTokens.Token CONTINUE

    - #### RETURN

          public static final JasmTokens.Token RETURN

    - #### TRY

          public static final JasmTokens.Token TRY

    - #### CATCH

          public static final JasmTokens.Token CATCH

    - #### FINALLY

          public static final JasmTokens.Token FINALLY

    - #### THROW

          public static final JasmTokens.Token THROW

    - #### STAT

          public static final JasmTokens.Token STAT

    - #### EXPRESSION

          public static final JasmTokens.Token EXPRESSION

    - #### DECLARATION

          public static final JasmTokens.Token DECLARATION

    - #### VARDECLARATION

          public static final JasmTokens.Token VARDECLARATION

    - #### IMPORT

          public static final JasmTokens.Token IMPORT

    - #### CLASS

          public static final JasmTokens.Token CLASS

    - #### EXTENDS

          public static final JasmTokens.Token EXTENDS

    - #### IMPLEMENTS

          public static final JasmTokens.Token IMPLEMENTS

    - #### INTERFACE

          public static final JasmTokens.Token INTERFACE

    - #### PACKAGE

          public static final JasmTokens.Token PACKAGE

    - #### ENUM

          public static final JasmTokens.Token ENUM

    - #### MANDATED

          public static final JasmTokens.Token MANDATED

    - #### THROWS

          public static final JasmTokens.Token THROWS

    - #### ANNOTATION_ACCESS

          public static final JasmTokens.Token ANNOTATION_ACCESS

    - #### PRIVATE

          public static final JasmTokens.Token PRIVATE

    - #### PUBLIC

          public static final JasmTokens.Token PUBLIC

    - #### PROTECTED

          public static final JasmTokens.Token PROTECTED

    - #### CONST

          public static final JasmTokens.Token CONST

    - #### STATIC

          public static final JasmTokens.Token STATIC

    - #### TRANSIENT

          public static final JasmTokens.Token TRANSIENT

    - #### SYNCHRONIZED

          public static final JasmTokens.Token SYNCHRONIZED

    - #### NATIVE

          public static final JasmTokens.Token NATIVE

    - #### FINAL

          public static final JasmTokens.Token FINAL

    - #### VOLATILE

          public static final JasmTokens.Token VOLATILE

    - #### ABSTRACT

          public static final JasmTokens.Token ABSTRACT

    - #### TRANSITIVE

          public static final JasmTokens.Token TRANSITIVE

    - #### OPEN

          public static final JasmTokens.Token OPEN

    - #### AT_SIGN

          public static final JasmTokens.Token AT_SIGN

    - #### SEMICOLON

          public static final JasmTokens.Token SEMICOLON

    - #### COLON

          public static final JasmTokens.Token COLON

    - #### QUESTIONMARK

          public static final JasmTokens.Token QUESTIONMARK

    - #### LBRACE

          public static final JasmTokens.Token LBRACE

    - #### RBRACE

          public static final JasmTokens.Token RBRACE

    - #### LPAREN

          public static final JasmTokens.Token LPAREN

    - #### RPAREN

          public static final JasmTokens.Token RPAREN

    - #### LSQBRACKET

          public static final JasmTokens.Token LSQBRACKET

    - #### RSQBRACKET

          public static final JasmTokens.Token RSQBRACKET

    - #### ESCAPED_COLON

          public static final JasmTokens.Token ESCAPED_COLON

    - #### ESCAPED_ATSIGH

          public static final JasmTokens.Token ESCAPED_ATSIGH

    - #### ESCAPED_BACKSLASH

          public static final JasmTokens.Token ESCAPED_BACKSLASH

    - #### ERROR

          public static final JasmTokens.Token ERROR

    - #### COMMENT

          public static final JasmTokens.Token COMMENT

    - #### TYPE

          public static final JasmTokens.Token TYPE

    - #### LENGTH

          public static final JasmTokens.Token LENGTH

    - #### INLINERETURN

          public static final JasmTokens.Token INLINERETURN

    - #### INLINEMETHOD

          public static final JasmTokens.Token INLINEMETHOD

    - #### INLINENEWINSTANCE

          public static final JasmTokens.Token INLINENEWINSTANCE

    - #### METHODREF

          public static final JasmTokens.Token METHODREF

    - #### FIELDREF

          public static final JasmTokens.Token FIELDREF

    - #### STACK

          public static final JasmTokens.Token STACK

    - #### LOCAL

          public static final JasmTokens.Token LOCAL

    - #### CPINDEX

          public static final JasmTokens.Token CPINDEX

    - #### CPNAME

          public static final JasmTokens.Token CPNAME

    - #### SIGN

          public static final JasmTokens.Token SIGN

    - #### BITS

          public static final JasmTokens.Token BITS

    - #### INF

          public static final JasmTokens.Token INF

    - #### NAN

          public static final JasmTokens.Token NAN

    - #### INNERCLASS

          public static final JasmTokens.Token INNERCLASS

    - #### OF

          public static final JasmTokens.Token OF

    - #### SYNTHETIC

          public static final JasmTokens.Token SYNTHETIC

    - #### STRICT

          public static final JasmTokens.Token STRICT

    - #### DEPRECATED

          public static final JasmTokens.Token DEPRECATED

    - #### VERSION

          public static final JasmTokens.Token VERSION

    - #### MODULE

          public static final JasmTokens.Token MODULE

    - #### ANNOTATION

          public static final JasmTokens.Token ANNOTATION

    - #### PARAM_NAME

          public static final JasmTokens.Token PARAM_NAME

    - #### VARARGS

          public static final JasmTokens.Token VARARGS

    - #### BRIDGE

          public static final JasmTokens.Token BRIDGE

    - #### BOOTSTRAPMETHOD

          public static final JasmTokens.Token BOOTSTRAPMETHOD

    - #### NESTHOST

          public static final JasmTokens.Token NESTHOST

    - #### NESTMEMBERS

          public static final JasmTokens.Token NESTMEMBERS

    - #### RECORD

          public static final JasmTokens.Token RECORD

    - #### COMPONENT

          public static final JasmTokens.Token COMPONENT

    - #### PERMITTEDSUBCLASSES

          public static final JasmTokens.Token PERMITTEDSUBCLASSES

    - #### REQUIRES

          public static final JasmTokens.Token REQUIRES

    - #### EXPORTS

          public static final JasmTokens.Token EXPORTS

    - #### TO

          public static final JasmTokens.Token TO

    - #### USES

          public static final JasmTokens.Token USES

    - #### PROVIDES

          public static final JasmTokens.Token PROVIDES

    - #### WITH

          public static final JasmTokens.Token WITH

    - #### OPENS

          public static final JasmTokens.Token OPENS

    - #### ARRAY_TYPEPATH

          public static final JasmTokens.Token ARRAY_TYPEPATH

    - #### INNER_TYPE_TYPEPATH

          public static final JasmTokens.Token INNER_TYPE_TYPEPATH

    - #### WILDCARD_TYPEPATH

          public static final JasmTokens.Token WILDCARD_TYPEPATH

    - #### TYPE_ARGUMENT_TYPEPATH

          public static final JasmTokens.Token TYPE_ARGUMENT_TYPEPATH

  - ### Method Detail

    - #### values

          public static JasmTokens.Token[] values()

      Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

          for (JasmTokens.Token c : JasmTokens.Token.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static JasmTokens.Token valueOf​(java.lang.String name)

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
        `name` - the name of the enum constant to be returned.
      Returns:
        the enum constant with the specified name
      Throws:
        `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
        `java.lang.NullPointerException` - if the argument is null

    - #### get

          public static java.util.Optional<JasmTokens.Token> get​(java.lang.String parsekey,
                                                                 JasmTokens.KeywordType ktype)

    - #### printValue

          public java.lang.String printValue()

    - #### parseKey

          public java.lang.String parseKey()

    - #### value

          public int value()

    - #### possibleJasmIdentifier

          public boolean possibleJasmIdentifier()

    - #### possibleModuleName

          public boolean possibleModuleName()

    - #### possibleTypePathKind

          public boolean possibleTypePathKind()

      Checks a token belonging to the table: Table 4.7.20.2-A. Interpretation of type_path_kind values
      Returns:
        true if token is ARRAY, INNER_TYPE, WILDCARD or TYPE_ARGUMENT

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Enum<JasmTokens.Token>`