public class Desc extends Object
$sig and
$type.
This support class is required at runtime
only if $sig or $type is used.| Modifier and Type | Field and Description |
|---|---|
static boolean |
useContextClassLoader
Specifies how a
java.lang.Class object is loaded. |
| Constructor and Description |
|---|
Desc() |
| Modifier and Type | Method and 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.
|
public static boolean useContextClassLoader
java.lang.Class object is loaded.
If true, it is loaded by:
Thread.currentThread().getContextClassLoader().loadClass()
If false, it is loaded by Class.forName().
The default value is false.
Copyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.