Class AsmUtil
java.lang.Object
org.jboss.resteasy.reactive.common.processor.AsmUtil
A collection of ASM and Jandex utilities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetSignature(org.jboss.jandex.Type type) static StringgetSignature(org.jboss.jandex.Type type, Function<String, org.jboss.jandex.Type> typeVariableSubstitution) static voidunboxIfRequired(org.objectweb.asm.MethodVisitor mv, org.jboss.jandex.Type jandexType) Calls the right unboxing method for the given Jandex Type if it is a primitive.static voidunboxIfRequired(org.objectweb.asm.MethodVisitor mv, org.objectweb.asm.Type type) Calls the right unboxing method for the given Jandex Type if it is a primitive.
-
Constructor Details
-
AsmUtil
public AsmUtil()
-
-
Method Details
-
getSignature
-
getSignature
-
unboxIfRequired
public static void unboxIfRequired(org.objectweb.asm.MethodVisitor mv, org.jboss.jandex.Type jandexType) Calls the right unboxing method for the given Jandex Type if it is a primitive.- Parameters:
mv- The MethodVisitor on which to visit the unboxing instructionsjandexType- The Jandex Type to unbox if it is a primitive.
-
unboxIfRequired
public static void unboxIfRequired(org.objectweb.asm.MethodVisitor mv, org.objectweb.asm.Type type) Calls the right unboxing method for the given Jandex Type if it is a primitive.- Parameters:
mv- The MethodVisitor on which to visit the unboxing instructionstype- The Jandex Type to unbox if it is a primitive.
-