Package javassist.runtime
Class Desc
- java.lang.Object
-
- javassist.runtime.Desc
-
public class Desc extends Object
A support class for implementing$sig
and$type
. This support class is required at runtime only if$sig
or$type
is used.
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
useContextClassLoader
Specifies how ajava.lang.Class
object is loaded.
-
Constructor Summary
Constructors Constructor Description Desc()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<?>
getClazz(String name)
Interprets the given class name.static Class<?>[]
getParams(String desc)
Interprets the given type descriptor representing a method signature.static Class<?>
getType(String desc)
Interprets the given type descriptor.
-
-
-
Method Detail
-
getClazz
public static Class<?> getClazz(String name)
Interprets the given class name. It is used for implementing$class
.
-
getParams
public static Class<?>[] getParams(String desc)
Interprets the given type descriptor representing a method signature. It is used for implementing$sig
.
-
-