Class TypeUtils

java.lang.Object
io.micronaut.sourcegen.bytecode.TypeUtils

@Internal public final class TypeUtils extends Object
Internal bytecode type utils.
Since:
1.5
Author:
Denis Stepanov
  • Field Details

    • OBJECT_TYPE

      public static final org.objectweb.asm.Type OBJECT_TYPE
  • Constructor Details

    • TypeUtils

      public TypeUtils()
  • Method Details

    • getMethodDescriptor

      public static String getMethodDescriptor(@Nullable @Nullable ObjectDef objectDef, MethodDef methodDef)
    • getType

      public static org.objectweb.asm.Type getType(TypeDef typeDef, @Nullable @Nullable ObjectDef objectDef)
    • getType

      public static org.objectweb.asm.Type getType(TypeDef.Primitive primitive)
    • getType

      public static org.objectweb.asm.Type getType(String className, org.objectweb.asm.Type... genericTypes)
    • getType

      public static org.objectweb.asm.Type getType(ClassTypeDef classTypeDef)
    • getType

      public static org.objectweb.asm.Type getType(String className)