Class TypeUtils

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

@Internal public final class TypeUtils extends Object
Internal bytecode type utils.
Since:
1.5
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.objectweb.asm.Type
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getMethodDescriptor(@Nullable io.micronaut.sourcegen.model.ObjectDef objectDef, io.micronaut.sourcegen.model.MethodDef methodDef)
     
    static org.objectweb.asm.Type
    getType(io.micronaut.sourcegen.model.ClassTypeDef classTypeDef)
     
    static org.objectweb.asm.Type
    getType(io.micronaut.sourcegen.model.TypeDef.Primitive primitive)
     
    static org.objectweb.asm.Type
    getType(io.micronaut.sourcegen.model.TypeDef typeDef, @Nullable io.micronaut.sourcegen.model.ObjectDef objectDef)
     
    static org.objectweb.asm.Type
    getType(String className)
     
    static org.objectweb.asm.Type
    getType(String className, org.objectweb.asm.Type... genericTypes)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 io.micronaut.sourcegen.model.ObjectDef objectDef, io.micronaut.sourcegen.model.MethodDef methodDef)
    • getType

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

      public static org.objectweb.asm.Type getType(io.micronaut.sourcegen.model.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(io.micronaut.sourcegen.model.ClassTypeDef classTypeDef)
    • getType

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