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
Constructor Summary |
ClassFile(java.io.InputStream is)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ClassFile
public ClassFile(java.io.InputStream is)
throws java.io.IOException
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-2002 Apache Software Foundation. All Rights Reserved.