aokell.lib.asm
Class ASMGeneratorForBoundableInterface
java.lang.Object
aokell.lib.asm.ASMGeneratorForBoundableInterface
public class ASMGeneratorForBoundableInterface
- extends Object
This class generates Interface implementations for components which
are bound to a target interface. This is typically the case of interfaces
associated to composite components, or of client interfaces associated to
primitive components.
- Author:
- Lionel Seinturier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASMGeneratorForBoundableInterface
public ASMGeneratorForBoundableInterface()
generateDelegator
public ClassDefinition generateDelegator(String targetClassname,
String delegateClassname)
- Generate an Interface implementation by extending
InterfaceImpl
.
- Parameters:
targetClassname
- the name of the generated classdelegateClassname
- the name of the class where calls will be delegated
- Returns:
- the generated class definition (Class and bytecode)
getInterfaceImpl
protected String getInterfaceImpl()
- Return the name of the Interface implementation to be used as
super class for generated implementations.