|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.enhancer.ClassMethod
org.datanucleus.enhancer.asm.ASMClassMethod
org.datanucleus.enhancer.asm.method.InitFieldTypes
public class InitFieldTypes
Method to generate the method "__jdoFieldTypesInit" using ASM.
private static final Class[] __jdoFieldTypesInit()
{
return new Class[] { ___jdo$loadClass("org.apache.jdo.test.B"), Long.TYPE,
___jdo$loadClass("java.lang.String") };
}
| Field Summary |
|---|
| Fields inherited from class org.datanucleus.enhancer.asm.ASMClassMethod |
|---|
visitor |
| Fields inherited from class org.datanucleus.enhancer.ClassMethod |
|---|
access, argNames, argTypes, enhancer, exceptions, LOCALISER, methodName, returnType |
| Constructor Summary | |
|---|---|
InitFieldTypes(ClassEnhancer enhancer,
String name,
int access,
Object returnType,
Object[] argTypes,
String[] argNames)
Constructor. |
|
| Method Summary | |
|---|---|
void |
execute()
Method to add the contents of the class method. |
static InitFieldTypes |
getInstance(ASMClassEnhancer enhancer)
|
| Methods inherited from class org.datanucleus.enhancer.asm.ASMClassMethod |
|---|
getClassEnhancer, getDescriptor, initialise, initialise |
| Methods inherited from class org.datanucleus.enhancer.ClassMethod |
|---|
close, equals, getAccess, getMethodAdditionMessage, getName, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InitFieldTypes(ClassEnhancer enhancer,
String name,
int access,
Object returnType,
Object[] argTypes,
String[] argNames)
enhancer - ClassEnhancername - Name of methodaccess - Access typereturnType - Return typeargTypes - Argument typesargNames - Argument names| Method Detail |
|---|
public static InitFieldTypes getInstance(ASMClassEnhancer enhancer)
public void execute()
execute in class ClassMethod
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||