org.apache.tools.ant.taskdefs.optional.sitraka.bytecode
Class ClassFile

java.lang.Object
  |
  +--org.apache.tools.ant.taskdefs.optional.sitraka.bytecode.ClassFile

public class ClassFile
extends java.lang.Object

Object representing a class.

Author:
Stephane Bailliez

Field Summary
protected  int access_flags
           
protected  ConstantPool constantPool
           
protected  FieldInfoList fields
           
protected  InterfaceList interfaces
           
protected  boolean isDeprecated
           
protected  boolean isSynthetic
           
protected  MethodInfoList methods
           
protected  java.lang.String sourceDir
           
protected  java.lang.String sourceFile
           
protected  int super_class
           
protected  int this_class
           
 
Constructor Summary
ClassFile(java.io.InputStream is)
           
 
Method Summary
 int getAccess()
           
 FieldInfoList getFields()
           
 java.lang.String getFullName()
           
 InterfaceList getInterfaces()
           
 MethodInfoList getMethods()
           
 java.lang.String getName()
           
 java.lang.String getPackage()
           
 java.lang.String getSourceDir()
           
 java.lang.String getSourceFile()
           
 java.lang.String getSuperName()
           
 boolean isDeprecated()
           
 boolean isSynthetic()
           
static void main(java.lang.String[] args)
          dirty test method, move it into a testcase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

constantPool

protected ConstantPool constantPool

interfaces

protected InterfaceList interfaces

fields

protected FieldInfoList fields

methods

protected MethodInfoList methods

sourceDir

protected java.lang.String sourceDir

sourceFile

protected java.lang.String sourceFile

access_flags

protected int access_flags

this_class

protected int this_class

super_class

protected int super_class

isSynthetic

protected boolean isSynthetic

isDeprecated

protected boolean isDeprecated
Constructor Detail

ClassFile

public ClassFile(java.io.InputStream is)
          throws java.io.IOException
Method Detail

getAccess

public int getAccess()

getInterfaces

public InterfaceList getInterfaces()

getSourceFile

public java.lang.String getSourceFile()

getSourceDir

public java.lang.String getSourceDir()

isSynthetic

public boolean isSynthetic()

isDeprecated

public boolean isDeprecated()

getMethods

public MethodInfoList getMethods()

getFields

public FieldInfoList getFields()

getSuperName

public java.lang.String getSuperName()

getFullName

public java.lang.String getFullName()

getName

public java.lang.String getName()

getPackage

public java.lang.String getPackage()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
dirty test method, move it into a testcase


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.