`compatibilityVersion` defined as `JavaVersion`.