org.apache.batik.util
public class ClassFileUtilities extends Object
Field Summary | |
---|---|
static byte | CONSTANT_CLASS_INFO |
static byte | CONSTANT_DOUBLE_INFO |
static byte | CONSTANT_FIELDREF_INFO |
static byte | CONSTANT_FLOAT_INFO |
static byte | CONSTANT_INTEGER_INFO |
static byte | CONSTANT_INTERFACEMETHODREF_INFO |
static byte | CONSTANT_LONG_INFO |
static byte | CONSTANT_METHODREF_INFO |
static byte | CONSTANT_NAMEANDTYPE_INFO |
static byte | CONSTANT_STRING_INFO |
static byte | CONSTANT_UTF8_INFO |
Constructor Summary | |
---|---|
protected | ClassFileUtilities()
This class does not need to be instantiated. |
Method Summary | |
---|---|
static Set | getClassDependencies(String path, Set classpath)
Returns the dependencies of the given class. |
static Set | getClassDependencies(InputStream is)
Returns the dependencies of the given class. |
protected static Set | getDescriptorClasses(String desc)
Returns the classes contained in a field or method desciptor. |
Parameters: path The root class path. classpath The set of directories (Strings) to scan.
Returns: a list of paths representing the used classes.
Returns: a list of strings representing the used classes.