All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.ClassFile.Raw.AccessFlags

java.lang.Object
   |
   +----harpoon.ClassFile.Raw.AccessFlags

public class AccessFlags
extends Object
Represents a set of method or field access flags, containing permissions and properties of a field or method.

Version:
$Id: AccessFlags.java,v 1.10 1998/10/11 03:01:11 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
ClassFile, FieldInfo, MethodInfo

Variable Index

 o access_flags

Constructor Index

 o AccessFlags(ClassDataInputStream)
Constructor.
 o AccessFlags(int)
Constructor.

Method Index

 o isAbstract()
 o isFinal()
 o isInterface()
 o isNative()
 o isPrivate()
 o isProtected()
 o isPublic()
 o isStatic()
 o isSuper()
 o isSynchronized()
 o isTransient()
 o isVolatile()
 o toString()
Returns a string with the access flags in canonical order.
 o write(ClassDataOutputStream)
Write to bytecode file.

Variables

 o access_flags
 public int access_flags

Constructors

 o AccessFlags
 public AccessFlags(int flags)
Constructor.

 o AccessFlags
 public AccessFlags(ClassDataInputStream in) throws IOException
Constructor.

Methods

 o write
 public void write(ClassDataOutputStream out) throws IOException
Write to bytecode file.

 o isPublic
 public boolean isPublic()
 o isPrivate
 public boolean isPrivate()
 o isProtected
 public boolean isProtected()
 o isStatic
 public boolean isStatic()
 o isFinal
 public boolean isFinal()
 o isVolatile
 public boolean isVolatile()
 o isTransient
 public boolean isTransient()
 o isSynchronized
 public boolean isSynchronized()
 o isNative
 public boolean isNative()
 o isAbstract
 public boolean isAbstract()
 o isSuper
 public boolean isSuper()
 o isInterface
 public boolean isInterface()
 o toString
 public String toString()
Returns a string with the access flags in canonical order. Omits ACC_SUPER and ACC_INTERFACE.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index