classfile
Class classDeclSec

java.lang.Object
  |
  +--util.dataRead
        |
        +--classfile.classDeclSec

class classDeclSec
extends dataRead
implements access_and_modifier_flags

Read the JVM class file information that defines the class header. This information is the access modifier information (access_flags), the class name (this_class), the super class (super_class) and the interface list (interface_count and interfaces[]). Note that if the interface_flags field is ACC_INTERFACE its not a class but an interface.

Author:
Ian Kaplan

Field Summary
private  int accessFlags
           
private  constBase[] interfaces
           
private  constBase superClass
           
private  constBase thisClass
           
 
Fields inherited from class util.dataRead
bytesRead
 
Fields inherited from interface util.access_and_modifier_flags
ACC_ABSTRACT, ACC_FINAL, ACC_INTERFACE, ACC_NATIVE, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_STRICT, ACC_SYNC, ACC_TRANSIENT, ACC_VOLATILE
 
Constructor Summary
(package private) classDeclSec(java.io.DataInputStream dStream, constPool constPoolSec)
           
 
Method Summary
(package private)  java.lang.String getClassName()
           
private  void pr_modifiers(int mod)
          Print the class modifiers
(package private)  void pr()
           
 
Methods inherited from class util.dataRead
getBytesRead, readU1, readU2, readU4
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

accessFlags

private int accessFlags

thisClass

private constBase thisClass

superClass

private constBase superClass

interfaces

private constBase[] interfaces
Constructor Detail

classDeclSec

classDeclSec(java.io.DataInputStream dStream,
             constPool constPoolSec)
Method Detail

getClassName

java.lang.String getClassName()

pr_modifiers

private void pr_modifiers(int mod)
Print the class modifiers

pr

void pr()