`Modifier.isFinal()` is called twice.  Perhaps you meant `isStatic()`?