|
org.netbeans.modules.classfile/1 1.19 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.modules.classfile.Access
public class Access
A utility class defining access flags and access utility methods. Access flags are as defined by the Java Virtual Machine Specification Second Edition, tables 4.1, 4.4, 4.5 and 4.7.
Field Summary | |
---|---|
static int |
ABSTRACT
Declared abstract; must not be instantiated. |
static int |
ANNOTATION
Declared as an annotation type. |
static int |
BRIDGE
A bridge method, generated by the compiler. |
static int |
ENUM
For classes, declared as an enum type. |
static int |
FINAL
Declared final. |
static int |
INTERFACE
Is an interface, not a class. |
static int |
NATIVE
Declared native; implemented in a language other than Java. |
static int |
PRIVATE
Declared private, usable only within the defining class. |
static int |
PROTECTED
Declared protected, may be accessed within subclasses. |
static int |
PUBLIC
Declared public, may be accessed from outside its package. |
static int |
STATIC
Declared static. |
static int |
STRICT
Declared strictfp; floating point mode is FP-strict. |
static int |
SUPER
Treat superclass methods specially when invoked by the invokespecial instruction. |
static int |
SYNCHRONIZED
Declared synchronized; invocation is wrapped in a monitor lock. |
static int |
SYNTHETIC
Declared synthetic, not present in the source file. |
static int |
TRANSIENT
Declared transient; not written or read by a persistent object manager |
static int |
VARARGS
Declared with a variable number of arguments. |
static int |
VOLATILE
Declared volatile; cannot be cached. |
Method Summary | |
---|---|
static boolean |
isPackagePrivate(int access)
|
static boolean |
isPrivate(int access)
|
static boolean |
isProtected(int access)
|
static boolean |
isPublic(int access)
|
static boolean |
isStatic(int access)
|
static String |
toString(int access)
Return a text representation for a given set of access flags. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PUBLIC
public static final int PRIVATE
public static final int PROTECTED
public static final int STATIC
public static final int FINAL
public static final int SYNCHRONIZED
public static final int SUPER
public static final int VOLATILE
public static final int BRIDGE
public static final int TRANSIENT
public static final int VARARGS
public static final int NATIVE
public static final int INTERFACE
public static final int ABSTRACT
public static final int STRICT
public static final int SYNTHETIC
public static final int ANNOTATION
public static final int ENUM
Method Detail |
---|
public static String toString(int access)
"public static final"
,"package private"
, or"protected transient"
.
access
- the mask of flags denoting access permission.
public static boolean isStatic(int access)
public static final boolean isPublic(int access)
public static final boolean isProtected(int access)
public static final boolean isPackagePrivate(int access)
public static final boolean isPrivate(int access)
|
org.netbeans.modules.classfile/1 1.19 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |