| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| public static Class | parseClass(String
a field descriptor string descriptor, ClassLoader the class loader in which to look up the types (null means
bootstrap class loader) loader)Parses and validates a field descriptor string in the |
| private static void | |
| public static List | parseMethod(String
a method descriptor string descriptor, ClassLoader the class loader in which to look up the types (null means
bootstrap class loader) loader)Parses and validates a method descriptor string in the |
| private static Class | parseSig(String
contains the string to parse str, int[] cursor for the next token in the string, modified in-place i, int the limit for parsing end, ClassLoader the class loader in which to look up the types (null means
bootstrap class loader) loader)Parse a single type in a descriptor. |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| private static void |
| CHECK_OFFSET | back to summary |
|---|---|
| private static final int CHECK_OFFSET | |
| NON_IDENTIFIER_MASK | back to summary |
|---|---|
| private static final long NON_IDENTIFIER_MASK | |
| BytecodeDescriptor | back to summary |
|---|---|
| private BytecodeDescriptor() | |
| nextNonIdentifier | back to summary |
|---|---|
| private static int nextNonIdentifier(String str, int index, int end) | |
| parseClass | back to summary |
|---|---|
| public static Class Parses and validates a field descriptor string in the
| |
| parseError | back to summary |
|---|---|
| private static void parseError(String str, String msg) | |
| parseMethod | back to summary |
|---|---|
| public static List Parses and validates a method descriptor string in the
| |
| parseSig | back to summary |
|---|---|
| private static Class Parse a single type in a descriptor. Results can be:
| |
| unparse | back to summary |
|---|---|
| public static String unparse(Class<?> type) | |
| unparse | back to summary |
|---|---|
| public static String unparse(Object type) | |
| unparseMethod | back to summary |
|---|---|
| public static String unparseMethod(Class<?> rtype, List<Class<?>> ptypes) | |
| unparseMethod | back to summary |
|---|---|
| public static String unparseMethod(Class<?> rtype, Class<?>[] ptypes) | |
| unparseSig | back to summary |
|---|---|
| private static void unparseSig(Class<?> t, StringBuilder sb) | |