public class KotlinPanacheClassVisitor
extends org.objectweb.asm.ClassVisitor
| Modifier and Type | Field and Description |
|---|---|
protected Function<String,String> |
argMapper |
protected static ByteCodeType |
CLASS |
protected org.jboss.jandex.ClassInfo |
classInfo |
protected ByteCodeType |
entityUpperBound |
protected List<PanacheMethodCustomizer> |
methodCustomizers |
protected static ByteCodeType |
NOT_NULL |
static ByteCodeType |
OBJECT |
protected Map<String,ByteCodeType> |
typeArguments |
protected TypeBundle |
typeBundle |
| Constructor and Description |
|---|
KotlinPanacheClassVisitor(org.objectweb.asm.ClassVisitor outputClassVisitor,
org.jboss.jandex.ClassInfo classInfo,
org.jboss.jandex.IndexView indexView,
TypeBundle typeBundle,
ByteCodeType baseType,
List<PanacheMethodCustomizer> methodCustomizers) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNullityChecks(org.objectweb.asm.MethodVisitor mv,
List<org.jboss.jandex.Type> parameters) |
protected String |
bridgeMethodDescriptor(org.jboss.jandex.MethodInfo method,
Function<String,String> mapper) |
protected void |
discoverTypeParameters(org.jboss.jandex.ClassInfo classInfo,
org.jboss.jandex.IndexView indexView,
TypeBundle types,
ByteCodeType baseType) |
protected void |
loadOperationsReference(org.objectweb.asm.MethodVisitor mv) |
static List<ByteCodeType> |
recursivelyFindEntityTypeArguments(org.jboss.jandex.IndexView indexView,
org.jboss.jandex.DotName clazz,
org.jboss.jandex.DotName repositoryDotName) |
String |
toString() |
void |
visitEnd() |
org.objectweb.asm.MethodVisitor |
visitMethod(int access,
String name,
String descriptor,
String signature,
String[] exceptions) |
public static final ByteCodeType OBJECT
protected static final ByteCodeType NOT_NULL
protected static final ByteCodeType CLASS
protected final org.jboss.jandex.ClassInfo classInfo
protected final ByteCodeType entityUpperBound
protected final Map<String,ByteCodeType> typeArguments
protected List<PanacheMethodCustomizer> methodCustomizers
protected TypeBundle typeBundle
public KotlinPanacheClassVisitor(org.objectweb.asm.ClassVisitor outputClassVisitor,
org.jboss.jandex.ClassInfo classInfo,
org.jboss.jandex.IndexView indexView,
TypeBundle typeBundle,
ByteCodeType baseType,
List<PanacheMethodCustomizer> methodCustomizers)
protected void discoverTypeParameters(org.jboss.jandex.ClassInfo classInfo,
org.jboss.jandex.IndexView indexView,
TypeBundle types,
ByteCodeType baseType)
public static List<ByteCodeType> recursivelyFindEntityTypeArguments(org.jboss.jandex.IndexView indexView, org.jboss.jandex.DotName clazz, org.jboss.jandex.DotName repositoryDotName)
protected String bridgeMethodDescriptor(org.jboss.jandex.MethodInfo method, Function<String,String> mapper)
protected void addNullityChecks(org.objectweb.asm.MethodVisitor mv,
List<org.jboss.jandex.Type> parameters)
protected void loadOperationsReference(org.objectweb.asm.MethodVisitor mv)
public void visitEnd()
visitEnd in class org.objectweb.asm.ClassVisitorCopyright © 2021 JBoss by Red Hat. All rights reserved.