Using Class#getModifiers :
Modifier.isFinal(clz.getModifiers())
Class modifiers (or fields or methods) are represented as packed int bits in the reflection API. Each possible modifier has its own bit mask, and the Modifier class helps mask these bits.
You can check the following modems:
abstractfinalinterfacenativeprivateprotectedpublicstaticstrictfpsynchronizedtransientvolatile
source share