com.acciente.commons.loader
Class ClassFile
java.lang.Object
com.acciente.commons.loader.ClassFile
public class ClassFile
- extends 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
Method Summary |
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 |
ClassFile
public ClassFile(File oByteCodeFile)
throws IOException
- Throws:
IOException
ClassFile
public ClassFile(byte[] ayClassByteCode)
throws IOException
- Throws:
IOException
getReferencedClasses
public 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
Copyright © 2008-2013 Acciente, LLC. All Rights Reserved.