public class PanacheRepositoryClassVisitor
extends org.objectweb.asm.ClassVisitor
| Modifier and Type | Field and Description |
|---|---|
protected Function<String,String> |
argMapper |
static ByteCodeType |
CLASS |
protected String |
daoBinaryName |
protected org.jboss.jandex.ClassInfo |
daoClassInfo |
protected String |
entitySignature |
protected org.objectweb.asm.Type |
entityType |
protected ByteCodeType |
entityUpperBound |
protected org.jboss.jandex.IndexView |
indexView |
protected org.jboss.jandex.ClassInfo |
panacheRepositoryBaseClassInfo |
protected Map<String,ByteCodeType> |
typeArguments |
protected Set<String> |
userMethods |
| Constructor and Description |
|---|
PanacheRepositoryClassVisitor(String className,
org.objectweb.asm.ClassVisitor outputClassVisitor,
org.jboss.jandex.IndexView indexView,
TypeBundle typeBundle) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
discoverTypeParameters(org.jboss.jandex.ClassInfo classInfo,
org.jboss.jandex.IndexView indexView,
TypeBundle types,
ByteCodeType baseType) |
protected void |
generateJvmBridge(org.jboss.jandex.MethodInfo method) |
protected void |
generateModelBridge(org.jboss.jandex.MethodInfo method) |
protected void |
injectModel(org.objectweb.asm.MethodVisitor mv) |
void |
visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces) |
void |
visitEnd() |
org.objectweb.asm.MethodVisitor |
visitMethod(int access,
String methodName,
String descriptor,
String signature,
String[] exceptions) |
public static final ByteCodeType CLASS
protected org.objectweb.asm.Type entityType
protected String entitySignature
protected String daoBinaryName
protected org.jboss.jandex.ClassInfo daoClassInfo
protected org.jboss.jandex.ClassInfo panacheRepositoryBaseClassInfo
protected org.jboss.jandex.IndexView indexView
protected Map<String,ByteCodeType> typeArguments
protected ByteCodeType entityUpperBound
public PanacheRepositoryClassVisitor(String className, org.objectweb.asm.ClassVisitor outputClassVisitor, org.jboss.jandex.IndexView indexView, TypeBundle typeBundle)
protected void injectModel(org.objectweb.asm.MethodVisitor mv)
public void visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces)
visit in class org.objectweb.asm.ClassVisitorprotected void discoverTypeParameters(org.jboss.jandex.ClassInfo classInfo,
org.jboss.jandex.IndexView indexView,
TypeBundle types,
ByteCodeType baseType)
public org.objectweb.asm.MethodVisitor visitMethod(int access,
String methodName,
String descriptor,
String signature,
String[] exceptions)
visitMethod in class org.objectweb.asm.ClassVisitorpublic void visitEnd()
visitEnd in class org.objectweb.asm.ClassVisitorprotected void generateJvmBridge(org.jboss.jandex.MethodInfo method)
protected void generateModelBridge(org.jboss.jandex.MethodInfo method)
Copyright © 2021 JBoss by Red Hat. All rights reserved.