public final class Mod extends Object
Notice: This class should be named IClass.IModifier
, but changing the name would break existing client
code. Thus it won't be renamed until there's a really good reason to do it (maybe with a major design change).
Modifier and Type | Field and Description |
---|---|
static short |
ABSTRACT |
static short |
ANNOTATION |
static short |
ENUM |
static short |
FINAL |
static short |
INTERFACE |
static short |
NATIVE |
static short |
NONE |
static short |
PACKAGE |
static short |
PPP |
static short |
PRIVATE |
static short |
PROTECTED |
static short |
PUBLIC |
static short |
STATIC |
static short |
STRICTFP |
static short |
SUPER |
static short |
SYNCHRONIZED |
static short |
SYNTHETIC |
static short |
TRANSIENT |
static short |
VOLATILE |
Modifier and Type | Method and Description |
---|---|
static short |
changeAccess(short sh,
short newAccess) |
static boolean |
isPackageAccess(short sh) |
static boolean |
isPrivateAccess(short sh) |
static boolean |
isProtectedAccess(short sh) |
static boolean |
isPublicAccess(short sh) |
static String |
shortToString(short sh) |
public static final short NONE
public static final short PUBLIC
public static final short PRIVATE
public static final short PROTECTED
public static final short PACKAGE
public static final short PPP
public static final short STATIC
public static final short FINAL
public static final short SUPER
public static final short SYNCHRONIZED
public static final short VOLATILE
public static final short TRANSIENT
public static final short NATIVE
public static final short INTERFACE
public static final short ABSTRACT
public static final short STRICTFP
public static final short SYNTHETIC
public static final short ANNOTATION
public static final short ENUM
public static boolean isPublicAccess(short sh)
public static boolean isPrivateAccess(short sh)
public static boolean isProtectedAccess(short sh)
public static boolean isPackageAccess(short sh)
public static short changeAccess(short sh, short newAccess)
public static String shortToString(short sh)
Copyright © 2001-2014. All Rights Reserved.