add Modifier.isNative and isAbstract

This commit is contained in:
Joel Dice 2008-04-01 16:42:50 -06:00
parent 95a386f2a6
commit c9ef443944

View File

@ -33,4 +33,6 @@ public final class Modifier {
public static boolean isStatic (int v) { return (v & STATIC) != 0; }
public static boolean isFinal (int v) { return (v & FINAL) != 0; }
public static boolean isSuper (int v) { return (v & SUPER) != 0; }
public static boolean isNative (int v) { return (v & NATIVE) != 0; }
public static boolean isAbstract (int v) { return (v & ABSTRACT) != 0; }
}