Appends the descriptor corresponding to this type to the given string buffer. @param stringBuilder the string builder to which the descriptor must be appended.
(final StringBuilder stringBuilder)
| 614 | * @param stringBuilder the string builder to which the descriptor must be appended. |
| 615 | */ |
| 616 | private void appendDescriptor(final StringBuilder stringBuilder) { |
| 617 | if (sort == OBJECT) { |
| 618 | stringBuilder.append(valueBuffer, valueBegin - 1, valueEnd + 1); |
| 619 | } else if (sort == INTERNAL) { |
| 620 | stringBuilder.append('L'); |
| 621 | stringBuilder.append(valueBuffer, valueBegin, valueEnd); |
| 622 | stringBuilder.append(';'); |
| 623 | } else { |
| 624 | stringBuilder.append(valueBuffer, valueBegin, valueEnd); |
| 625 | } |
| 626 | } |
| 627 | |
| 628 | // ----------------------------------------------------------------------------------------------- |
| 629 | // Direct conversion from classes to type descriptors, |
no test coverage detected