public class ClassDescriptor extends Object
| Modifier and Type | Method and Description |
|---|---|
static ClassDescriptor |
get(Class clazz)
returns the classDescriptor of this class
|
Constant[] |
getConstantPool()
returns the constantpool of a classfile
|
MethodDescriptor |
getMethod(AccessibleObject method)
returns the methodDescriptor of the method.
|
MethodDescriptor[] |
getMethods()
returns the methods of this class
|
public static ClassDescriptor get(Class clazz) throws IOException, ClassNotFoundException
clazz - the class the clazz to parseIOException - on IO exceptionClassNotFoundException - if clazz cannot be foundpublic MethodDescriptor getMethod(AccessibleObject method)
method - the method to resolve.public Constant[] getConstantPool()
public MethodDescriptor[] getMethods()
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.