Non Access Modifiers

static

final

abstract

default

synchronized

volatile

transient

native

// taken from real jdk 17 using Intellij
@IntrinsicCandidate
protected native Object clone() throws CloneNotSupportedException;

strictfp

  • Deprecated as of Java 17+
  • Makes floating point calculation consistent, otherwise JVM can use arbitrary precision

Other keywords

sealed and non-sealed

record