org.jboss.invocation.proxy
Class DefaultMethodBodyCreator
java.lang.Object
org.jboss.invocation.proxy.DefaultMethodBodyCreator
- All Implemented Interfaces:
- MethodBodyCreator
public class DefaultMethodBodyCreator
- extends Object
- implements MethodBodyCreator
A MethodBodyCreator
that simply returns 0 or null depending on the methods return type
- Author:
- Stuart Douglas
Method Summary |
void |
overrideMethod(org.jboss.classfilewriter.ClassMethod method,
Method superclassMethod)
Generate an overridden method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DefaultMethodBodyCreator INSTANCE
- The singleton instance.
overrideMethod
public void overrideMethod(org.jboss.classfilewriter.ClassMethod method,
Method superclassMethod)
- Generate an overridden method.
- Specified by:
overrideMethod
in interface MethodBodyCreator
- Parameters:
method
- the method to populatesuperclassMethod
- the method to override
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.