org.datanucleus.enhancer.asm.method
Class InitPersistenceCapableSuperclass
java.lang.Object
org.datanucleus.enhancer.ClassMethod
org.datanucleus.enhancer.asm.ASMClassMethod
org.datanucleus.enhancer.asm.method.InitPersistenceCapableSuperclass
public class InitPersistenceCapableSuperclass
- extends ASMClassMethod
Method to generate the method "__jdoPersistenceCapableSuperclassInit" using ASM.
private static Class __jdoPersistenceCapableSuperclassInit()
{
return null;
}
or, where the class has a (persistent) superclass
private static Class __jdoPersistenceCapableSuperclassInit()
{
return ___jdo$loadClass(pcSuperclassName);
}
- Version:
- $Revision: 1.3 $
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
InitPersistenceCapableSuperclass
public InitPersistenceCapableSuperclass(ClassEnhancer enhancer,
java.lang.String name,
int access,
java.lang.Object returnType,
java.lang.Object[] argTypes,
java.lang.String[] argNames)
- Constructor.
- Parameters:
enhancer - ClassEnhancername - Name of methodaccess - Access typereturnType - Return typeargTypes - Argument typesargNames - Argument names
getInstance
public static InitPersistenceCapableSuperclass getInstance(ASMClassEnhancer enhancer)
execute
public void execute()
- Method to add the contents of the class method.
- Specified by:
execute in class ClassMethod
Copyright © 2009. All Rights Reserved.