/** * Returns the modifiers for the reference type. ACC_PUBLIC, ACC_FINAL, etc. Undefined for arrays * and primitive type. * * @return the class modifiers in JVM Spec format. */ public int getModifiers() { return klass.getModifiers() & Modifier.getJVMClassModifiers(); }