Хотесь изучить метод getModifiers(), узнать, что он возвращает. Каким образом все его внутренности закомментированы - как он умудряется работать? Закомментированый код зелёный, если это имеет значение.
public native int getModifiers();
/**
* Gets the signers of this class.
*
* @return the signers of this class, or null if there are no signers. In
* particular, this method returns null if this object represents
* a primitive type or void.
* @since JDK1.1
*/