Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.chaoswg.xtc4y.classdesc
Class AccessFlags  view AccessFlags download AccessFlags.java

java.lang.Object
  extended bycom.chaoswg.xtc4y.classdesc.AccessFlags
Direct Known Subclasses:
ClassAccessFlags, FieldAccessFlags, InnerClassAccessFlags, MethodAccessFlags

public abstract class AccessFlags
extends java.lang.Object

this class represents the accessflags configured for the current field


Field Summary
static short ACC_ABSTRACT
          Declared abstract; may not be instantiated.
static short ACC_ABSTRACT_COMP
           
static short ACC_FINAL
          Declared final; no subclasses allowed.
static short ACC_FINAL_COMP
           
static short ACC_INTERFACE
          Is an interface, not a class.
static short ACC_INTERFACE_COMP
           
static short ACC_NATIVE
          Declared native; implemented in a language other than Java.
static short ACC_NATIVE_COMP
           
static short ACC_PRIVATE
          Declared private; usable only within the defining class.
static short ACC_PRIVATE_COMP
           
static short ACC_PROTECTED
          Declared protected; may be accessed within subclasses.
static short ACC_PROTECTED_COMP
           
static short ACC_PUBLIC
          Declared public; may be accessed from outside its package.
static short ACC_PUBLIC_COMP
          The complementare of the flags
static short ACC_STATIC
          Declared static.
static short ACC_STATIC_COMP
           
static short ACC_STRICT
          Declared strictfp; floating-point mode is FP-strict
static short ACC_STRICT_COMP
           
static short ACC_SUPER
          Treat superclass methods specially when invoked by the invokespecial instruction.
static short ACC_SUPER_COMP
           
static short ACC_SYNCHRONIZED
          Declared synchronized; invocation is wrapped in a monitor lock.
static short ACC_SYNCHRONIZED_COMP
           
static short ACC_TRANSIENT
          Declared transient; not written or read by a persistent object manager.
static short ACC_TRANSIENT_COMP
           
static short ACC_VOLATILE
          Declared volatile; cannot be cached.
static short ACC_VOLATILE_COMP
           
protected static short MASK_ACCESS
          Some masks used
 
Constructor Summary
protected AccessFlags(java.io.DataInputStream dis)
          Creates a AccessFlags and initializes it from a DataInputStream
  AccessFlags(short access)
          Constructs a new field access flag
 
Method Summary
protected abstract  short getAccessFlag()
          Read the possibly modified access flags
protected abstract  void setAccessFlag(short access)
          Set the read access flag
 java.lang.String toString()
          Print access flag in a readable way
protected  void write(java.io.DataOutputStream dos)
          Write the constant pool information into a DataOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACC_PUBLIC

public static final short ACC_PUBLIC
Declared public; may be accessed from outside its package.

See Also:
Constant Field Values

ACC_PRIVATE

public static final short ACC_PRIVATE
Declared private; usable only within the defining class.

See Also:
Constant Field Values

ACC_PROTECTED

public static final short ACC_PROTECTED
Declared protected; may be accessed within subclasses.

See Also:
Constant Field Values

ACC_STATIC

public static final short ACC_STATIC
Declared static.

See Also:
Constant Field Values

ACC_FINAL

public static final short ACC_FINAL
Declared final; no subclasses allowed.

See Also:
Constant Field Values

ACC_SUPER

public static final short ACC_SUPER
Treat superclass methods specially when invoked by the invokespecial instruction.

See Also:
Constant Field Values

ACC_SYNCHRONIZED

public static final short ACC_SYNCHRONIZED
Declared synchronized; invocation is wrapped in a monitor lock.

See Also:
Constant Field Values

ACC_VOLATILE

public static final short ACC_VOLATILE
Declared volatile; cannot be cached.

See Also:
Constant Field Values

ACC_TRANSIENT

public static final short ACC_TRANSIENT
Declared transient; not written or read by a persistent object manager.

See Also:
Constant Field Values

ACC_NATIVE

public static final short ACC_NATIVE
Declared native; implemented in a language other than Java.

See Also:
Constant Field Values

ACC_INTERFACE

public static final short ACC_INTERFACE
Is an interface, not a class.

See Also:
Constant Field Values

ACC_ABSTRACT

public static final short ACC_ABSTRACT
Declared abstract; may not be instantiated.

See Also:
Constant Field Values

ACC_STRICT

public static final short ACC_STRICT
Declared strictfp; floating-point mode is FP-strict

See Also:
Constant Field Values

ACC_PUBLIC_COMP

public static final short ACC_PUBLIC_COMP
The complementare of the flags

See Also:
Constant Field Values

ACC_PRIVATE_COMP

public static final short ACC_PRIVATE_COMP
See Also:
Constant Field Values

ACC_PROTECTED_COMP

public static final short ACC_PROTECTED_COMP
See Also:
Constant Field Values

ACC_STATIC_COMP

public static final short ACC_STATIC_COMP
See Also:
Constant Field Values

ACC_SUPER_COMP

public static final short ACC_SUPER_COMP
See Also:
Constant Field Values

ACC_SYNCHRONIZED_COMP

public static final short ACC_SYNCHRONIZED_COMP
See Also:
Constant Field Values

ACC_FINAL_COMP

public static final short ACC_FINAL_COMP
See Also:
Constant Field Values

ACC_VOLATILE_COMP

public static final short ACC_VOLATILE_COMP
See Also:
Constant Field Values

ACC_TRANSIENT_COMP

public static final short ACC_TRANSIENT_COMP
See Also:
Constant Field Values

ACC_NATIVE_COMP

public static final short ACC_NATIVE_COMP
See Also:
Constant Field Values

ACC_INTERFACE_COMP

public static final short ACC_INTERFACE_COMP
See Also:
Constant Field Values

ACC_ABSTRACT_COMP

public static final short ACC_ABSTRACT_COMP
See Also:
Constant Field Values

ACC_STRICT_COMP

public static final short ACC_STRICT_COMP
See Also:
Constant Field Values

MASK_ACCESS

protected static final short MASK_ACCESS
Some masks used

See Also:
Constant Field Values
Constructor Detail

AccessFlags

public AccessFlags(short access)
Constructs a new field access flag


AccessFlags

protected AccessFlags(java.io.DataInputStream dis)
               throws java.io.IOException
Creates a AccessFlags and initializes it from a DataInputStream

Method Detail

write

protected void write(java.io.DataOutputStream dos)
              throws java.io.IOException
Write the constant pool information into a DataOutputStream


setAccessFlag

protected abstract void setAccessFlag(short access)
Set the read access flag


getAccessFlag

protected abstract short getAccessFlag()
Read the possibly modified access flags


toString

public java.lang.String toString()
Print access flag in a readable way