public class DefaultMethodBodyCreator extends Object implements MethodBodyCreator
MethodBodyCreator that simply returns 0 or null depending on the methods return type| Modifier and Type | Field and Description |
|---|---|
static DefaultMethodBodyCreator |
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
overrideMethod(org.jboss.classfilewriter.ClassMethod method,
Method superclassMethod)
Generate an overridden method.
|
public static final DefaultMethodBodyCreator INSTANCE
public void overrideMethod(org.jboss.classfilewriter.ClassMethod method,
Method superclassMethod)
overrideMethod in interface MethodBodyCreatormethod - the method to populatesuperclassMethod - the method to overrideCopyright © 2012 JBoss by Red Hat. All Rights Reserved.