| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static String | makeDescriptor(String className)
Changes a class name to the internal form suitable for use in a descriptor string. |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String[] | parameterDescriptors(String methodDescriptor)
returns an array of String representations of the parameter types. |
| public static String[] | |
| public static String[] | |
| public static String | |
| public static String |
| BOOLEAN_CLASS_DESCRIPTOR | back to summary |
|---|---|
| pack-priv static final String BOOLEAN_CLASS_DESCRIPTOR | |
| BYTE_CLASS_DESCRIPTOR | back to summary |
|---|---|
| pack-priv static final String BYTE_CLASS_DESCRIPTOR | |
| CHAR_CLASS_DESCRIPTOR | back to summary |
|---|---|
| pack-priv static final String CHAR_CLASS_DESCRIPTOR | |
| DOUBLE_CLASS_DESCRIPTOR | back to summary |
|---|---|
| pack-priv static final String DOUBLE_CLASS_DESCRIPTOR | |
| FLOAT_CLASS_DESCRIPTOR | back to summary |
|---|---|
| pack-priv static final String FLOAT_CLASS_DESCRIPTOR | |
| INT_CLASS_DESCRIPTOR | back to summary |
|---|---|
| pack-priv static final String INT_CLASS_DESCRIPTOR | |
| LONG_CLASS_DESCRIPTOR | back to summary |
|---|---|
| pack-priv static final String LONG_CLASS_DESCRIPTOR | |
| SHORT_CLASS_DESCRIPTOR | back to summary |
|---|---|
| pack-priv static final String SHORT_CLASS_DESCRIPTOR | |
| VOID_CLASS_DESCRIPTOR | back to summary |
|---|---|
| pack-priv static final String VOID_CLASS_DESCRIPTOR | |
| DescriptorUtils | back to summary |
|---|---|
| public DescriptorUtils() | |
| isPrimitive | back to summary |
|---|---|
| public static boolean isPrimitive(String descriptor) returns true if the descriptor represents a primitive type | |
| isWide | back to summary |
|---|---|
| public static boolean isWide(String descriptor) returns true if the descriptor represents a long or a double | |
| isWide | back to summary |
|---|---|
| public static boolean isWide(Class<?> cls) returns true if the class represents a long or a double | |
| makeDescriptor | back to summary |
|---|---|
| public static String makeDescriptor(String className) Changes a class name to the internal form suitable for use in a descriptor string. e.g. java.lang.String => Ljava/lang/String; | |
| makeDescriptor | back to summary |
|---|---|
| public static String makeDescriptor(Class<?> c) | |
| makeDescriptor | back to summary |
|---|---|
| public static String makeDescriptor(Constructor<?> c) | |
| methodDescriptor | back to summary |
|---|---|
| public static String methodDescriptor(Method m) | |
| methodDescriptor | back to summary |
|---|---|
| public static String methodDescriptor(String[] parameters, String returnType) | |
| parameterDescriptors | back to summary |
|---|---|
| public static String[] parameterDescriptors(String methodDescriptor) returns an array of String representations of the parameter types. Primitives are returned as their native representations, while clases are returned in the internal descriptor form e.g. Ljava/lang/Integer; | |
| parameterDescriptors | back to summary |
|---|---|
| public static String[] parameterDescriptors(Method m) | |
| parameterDescriptors | back to summary |
|---|---|
| public static String[] parameterDescriptors(Class<?>[] parameters) | |
| returnType | back to summary |
|---|---|
| public static String returnType(String methodDescriptor) | |
| validateDescriptor | back to summary |
|---|---|
| public static String validateDescriptor(String descriptor) performs basic validation on a descriptor | |