[Java] Class TypeUtil
- org.codehaus.groovy.classgen.asm.util.TypeUtil
public abstract class TypeUtil extends Object
A utility for getting information of types
- Since:
- 2.5.0
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public static Class |
autoboxType(Class type) | |
public static String |
getDescriptionByName(String name) | |
public static String |
getDescriptionByType(ClassNode type) | |
public static int |
getLoadInsnByType(com.thoughtworks.qdox.model.Type type) | |
public static int |
getReturnInsnByType(com.thoughtworks.qdox.model.Type type) | |
public static String |
getWrappedClassDescriptor(com.thoughtworks.qdox.model.Type type) | |
public static boolean |
isPrimitiveType(com.thoughtworks.qdox.model.Type type) | |
public static boolean |
isPrimitiveType(String name) | |
public static boolean |
isPrimitiveType(ClassNode type) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
public static Class autoboxType(Class type)
public static String getDescriptionByName(String name)
public static String getDescriptionByType(ClassNode type)
public static int getLoadInsnByType(com.thoughtworks.qdox.model.Type type)
public static int getReturnInsnByType(com.thoughtworks.qdox.model.Type type)
public static String getWrappedClassDescriptor(com.thoughtworks.qdox.model.Type type)
public static boolean isPrimitiveType(com.thoughtworks.qdox.model.Type type)
public static boolean isPrimitiveType(String name)
public static boolean isPrimitiveType(ClassNode type)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/classgen/asm/util/TypeUtil.html