org.codehaus.janino
Class Mod
java.lang.Object
org.codehaus.janino.Mod
public final class Mod
- extends java.lang.Object
This class defines constants and convenience methods for the handling of modifiers as defined by the JVM.
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).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final short NONE
- See Also:
- Constant Field Values
PUBLIC
public static final short PUBLIC
- See Also:
- Constant Field Values
PRIVATE
public static final short PRIVATE
- See Also:
- Constant Field Values
PROTECTED
public static final short PROTECTED
- See Also:
- Constant Field Values
PACKAGE
public static final short PACKAGE
- See Also:
- Constant Field Values
PPP
public static final short PPP
- See Also:
- Constant Field Values
STATIC
public static final short STATIC
- See Also:
- Constant Field Values
FINAL
public static final short FINAL
- See Also:
- Constant Field Values
SUPER
public static final short SUPER
- See Also:
- Constant Field Values
SYNCHRONIZED
public static final short SYNCHRONIZED
- See Also:
- Constant Field Values
VOLATILE
public static final short VOLATILE
- See Also:
- Constant Field Values
TRANSIENT
public static final short TRANSIENT
- See Also:
- Constant Field Values
NATIVE
public static final short NATIVE
- See Also:
- Constant Field Values
INTERFACE
public static final short INTERFACE
- See Also:
- Constant Field Values
ABSTRACT
public static final short ABSTRACT
- See Also:
- Constant Field Values
STRICTFP
public static final short STRICTFP
- See Also:
- Constant Field Values
SYNTHETIC
public static final short SYNTHETIC
- See Also:
- Constant Field Values
ANNOTATION
public static final short ANNOTATION
- See Also:
- Constant Field Values
ENUM
public static final short ENUM
- See Also:
- Constant Field Values
isPublicAccess
public static boolean isPublicAccess(short sh)
isPrivateAccess
public static boolean isPrivateAccess(short sh)
isProtectedAccess
public static boolean isProtectedAccess(short sh)
isPackageAccess
public static boolean isPackageAccess(short sh)
changeAccess
public static short changeAccess(short sh,
short newAccess)
shortToString
public static java.lang.String shortToString(short sh)
Copyright © 2001-2012. All Rights Reserved.