Class Utils

java.lang.Object
io.activej.codegen.util.Utils

public final class Utils
extends Object
  • Constructor Details

  • Method Details

    • isPrimitiveType

      public static boolean isPrimitiveType​(org.objectweb.asm.Type type)
    • isWrapperType

      public static boolean isWrapperType​(org.objectweb.asm.Type type)
    • toPrimitive

      public static org.objectweb.asm.commons.Method toPrimitive​(org.objectweb.asm.Type type)
    • wrap

      public static org.objectweb.asm.Type wrap​(org.objectweb.asm.Type type)
    • unwrap

      public static org.objectweb.asm.Type unwrap​(@NotNull @NotNull org.objectweb.asm.Type type)
    • invokeVirtualOrInterface

      public static void invokeVirtualOrInterface​(org.objectweb.asm.commons.GeneratorAdapter g, Class<?> owner, org.objectweb.asm.commons.Method method)
    • exceptionInGeneratedClass

      public static String exceptionInGeneratedClass​(Context ctx)
    • isValidCast

      public static boolean isValidCast​(org.objectweb.asm.Type from, org.objectweb.asm.Type to)