/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM classlib-stubs. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ package java.lang.reflect; public class Modifier extends Object { public static final int PUBLIC = 1; public static final int PRIVATE = 2; public static final int PROTECTED = 4; public static final int STATIC = 8; public static final int FINAL = 16; public static final int SYNCHRONIZED = 32; public static final int VOLATILE = 64; public static final int TRANSIENT = 128; public static final int NATIVE = 256; public static final int INTERFACE = 512; public static final int ABSTRACT = 1024; public static final int STRICT = 2048; public Modifier() { } native public static boolean isPublic(int mod); native public static boolean isPrivate(int mod); native public static boolean isProtected(int mod); native public static boolean isStatic(int mod); native public static boolean isFinal(int mod); native public static boolean isSynchronized(int mod); native public static boolean isVolatile(int mod); native public static boolean isTransient(int mod); native public static boolean isNative(int mod); native public static boolean isInterface(int mod); native public static boolean isAbstract(int mod); native public static boolean isStrict(int mod); native public static String toString(int mod); }