|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.metaclass.tools.packer.ClassDescriptorPacker
Utility class to shrink ClassDescriptor by field and method descriptors without any attributes. If keepEmptyMethods is true the packer will retain any methods with no attributes. This option is useful if you want to retain access to the names of the parameters in methods and constructors.
Constructor Summary | |
ClassDescriptorPacker(boolean keepEmptyMethods)
Create packer. |
Method Summary | |
ClassDescriptor |
pack(ClassDescriptor descriptor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClassDescriptorPacker(boolean keepEmptyMethods)
keepEmptyMethods
- flag to keep empty methodsMethod Detail |
public ClassDescriptor pack(ClassDescriptor descriptor)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |