Module java.base
Package java.lang.reflect

# Enum AccessFlag

≠
public final enum AccessFlag
extends java.lang.Enum<java.lang.reflect.AccessFlag>

## Nested Types

- = Location

## Enum Constants

- =
  ABSTRACT
- =
  ANNOTATION
- =
  BRIDGE
- =
  ENUM
- =
  FINAL
- +Only in: valhalla-csr-open; not in: jdk-master.
  IDENTITY
  Not in jdk-master; only in valhalla-csr-open

  ### IDENTITY

  public static final AccessFlag IDENTITY
  `IDENTITY` is a reflective preview API of the Java platform.
  Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
  The access flag `ACC_IDENTITY` with a mask value of `0x0020`.
  See Java Virtual Machine Specification:
    4.1 Class access and property modifiersPREVIEW
  Since:
    Valhalla
- =
  INTERFACE
- =
  MANDATED
- =
  MODULE
- =
  NATIVE
- =
  OPEN
- =
  PRIVATE
- =
  PROTECTED
- =
  PUBLIC
- =
  STATIC
- =
  STATIC_PHASE
- =
  STRICT
- +Only in: valhalla-csr-open; not in: jdk-master.
  STRICT_INIT
  Not in jdk-master; only in valhalla-csr-open

  ### STRICT_INIT

  public static final AccessFlag STRICT_INIT
  `STRICT_INIT` is a reflective preview API of the Java platform.
  Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
  The access flag `ACC_STRICT_INIT`, with a mask value of `0x0800`.
  See Java Virtual Machine Specification:
    4.5 Field access and property flagsPREVIEW
  Since:
    Valhalla
- ≠
  SUPER
  Comparing jdk-master and valhalla-csr-open

  ### SUPER

  public static final AccessFlag SUPER
  The access flag `ACC_SUPER` with a mask value of `0x0020` .
  API Note:
    In Java SE 8 and above, the JVM treats the `ACC_SUPER` flag as set in every class file (JVMS §4.1). If preview feature is enabled, the `0x0020` access flag bit is IDENTITY access flagPREVIEW .
- =
  SYNCHRONIZED
- =
  SYNTHETIC
- =
  TRANSIENT
- =
  TRANSITIVE
- =
  VARARGS
- =
  VOLATILE

## Methods

- =
  public java.util.Set<java.lang.reflect.AccessFlag.Location> locations()
- =
  public java.util.Set<java.lang.reflect.AccessFlag.Location> locations(java.lang.reflect.ClassFileFormatVersion arg0)
- =
  public int mask()
- =
  public static java.util.Set<java.lang.reflect.AccessFlag> maskToAccessFlags(int arg0, java.lang.reflect.AccessFlag.Location arg1)
- =
  public static java.util.Set<java.lang.reflect.AccessFlag> maskToAccessFlags(int arg0, java.lang.reflect.AccessFlag.Location arg1, java.lang.reflect.ClassFileFormatVersion arg2)
- =
  public boolean sourceModifier()
- =
  public static java.lang.reflect.AccessFlag valueOf(java.lang.String arg0)
- =
  public static java.lang.reflect.AccessFlag[] values()

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
IDENTITY | 1 |  |  |  |  |  | 1 |  |  | 2
STRICT_INIT | 1 |  |  |  |  |  | 1 |  |  | 2
SUPER |  |  |  |  |  |  | 6 |  |  | 6
Total | 2 |  |  |  |  |  | 8 |  |  | 10