public class JandexUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.jandex.DotName |
DOTNAME_GENERATE_BRIDGE |
static org.jboss.jandex.DotName |
DOTNAME_OBJECT |
| Constructor and Description |
|---|
JandexUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
boxIfRequired(org.objectweb.asm.MethodVisitor mv,
org.jboss.jandex.Type jandexType) |
static String |
getDescriptor(org.jboss.jandex.MethodInfo method,
Function<String,String> typeArgMapper) |
static String |
getDescriptor(org.jboss.jandex.Type type,
Function<String,String> typeArgMapper) |
static org.jboss.jandex.ClassInfo |
getEnclosingClass(org.jboss.jandex.AnnotationInstance annotationInstance) |
static int |
getLoadOpcode(org.jboss.jandex.Type jandexType) |
static int |
getParameterSize(org.jboss.jandex.Type paramType) |
static org.jboss.jandex.Type[] |
getParameterTypes(String methodDescriptor) |
static int |
getReturnInstruction(String typeDescriptor) |
static int |
getReturnInstruction(org.jboss.jandex.Type jandexType) |
static String |
getSignature(org.jboss.jandex.MethodInfo method,
Function<String,String> typeArgMapper) |
static boolean |
isSubclassOf(org.jboss.jandex.IndexView index,
org.jboss.jandex.ClassInfo info,
org.jboss.jandex.DotName parentName) |
(package private) static void |
toSignature(StringBuilder sb,
org.jboss.jandex.Type type,
Function<String,String> typeArgMapper,
boolean erased) |
static void |
unboxIfRequired(org.objectweb.asm.MethodVisitor mv,
org.jboss.jandex.Type jandexType) |
static void |
visitLdc(org.objectweb.asm.MethodVisitor mv,
org.jboss.jandex.Type jandexType) |
public static final org.jboss.jandex.DotName DOTNAME_GENERATE_BRIDGE
public static final org.jboss.jandex.DotName DOTNAME_OBJECT
public static String getSignature(org.jboss.jandex.MethodInfo method, Function<String,String> typeArgMapper)
public static String getDescriptor(org.jboss.jandex.MethodInfo method, Function<String,String> typeArgMapper)
public static String getDescriptor(org.jboss.jandex.Type type, Function<String,String> typeArgMapper)
static void toSignature(StringBuilder sb, org.jboss.jandex.Type type, Function<String,String> typeArgMapper, boolean erased)
public static int getReturnInstruction(String typeDescriptor)
public static int getReturnInstruction(org.jboss.jandex.Type jandexType)
public static void visitLdc(org.objectweb.asm.MethodVisitor mv,
org.jboss.jandex.Type jandexType)
public static void boxIfRequired(org.objectweb.asm.MethodVisitor mv,
org.jboss.jandex.Type jandexType)
public static int getLoadOpcode(org.jboss.jandex.Type jandexType)
public static org.jboss.jandex.ClassInfo getEnclosingClass(org.jboss.jandex.AnnotationInstance annotationInstance)
public static boolean isSubclassOf(org.jboss.jandex.IndexView index,
org.jboss.jandex.ClassInfo info,
org.jboss.jandex.DotName parentName)
throws io.quarkus.builder.BuildException
io.quarkus.builder.BuildExceptionpublic static void unboxIfRequired(org.objectweb.asm.MethodVisitor mv,
org.jboss.jandex.Type jandexType)
public static org.jboss.jandex.Type[] getParameterTypes(String methodDescriptor)
public static int getParameterSize(org.jboss.jandex.Type paramType)
Copyright © 2020 JBoss by Red Hat. All rights reserved.