Return to www.inductionframework.org

com.acciente.commons.loader
Class ClassFile

java.lang.Object
  extended by com.acciente.commons.loader.ClassFile

public class ClassFile
extends java.lang.Object

This class has methods to read information from a class file. (this class makes heavy use of the Apache BCEL library)

Author:
Adinath Raveendra Raj

Constructor Summary
ClassFile(byte[] ayClassByteCode)
           
ClassFile(java.io.File oByteCodeFile)
           
 
Method Summary
 java.util.Set getReferencedClasses()
          This method returns the names of classes referenced by this class, including inner classes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFile

public ClassFile(java.io.File oByteCodeFile)
          throws java.io.IOException
Throws:
java.io.IOException

ClassFile

public ClassFile(byte[] ayClassByteCode)
          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getReferencedClasses

public java.util.Set getReferencedClasses()
This method returns the names of classes referenced by this class, including inner classes.

Returns:
a set containing strings representing fully qualified class names

Return to www.inductionframework.org

Copyright © 2008-2011 Acciente, LLC. All Rights Reserved.