Returns the descriptor corresponding to this type. @return the descriptor corresponding to this type.
()
| 577 | * @return the descriptor corresponding to this type. |
| 578 | */ |
| 579 | public String getDescriptor() { |
| 580 | if (sort == OBJECT) { |
| 581 | return valueBuffer.substring(valueBegin - 1, valueEnd + 1); |
| 582 | } else if (sort == INTERNAL) { |
| 583 | StringBuilder stringBuilder = new StringBuilder(); |
| 584 | stringBuilder.append('L'); |
| 585 | stringBuilder.append(valueBuffer, valueBegin, valueEnd); |
| 586 | stringBuilder.append(';'); |
| 587 | return stringBuilder.toString(); |
| 588 | } else { |
| 589 | return valueBuffer.substring(valueBegin, valueEnd); |
| 590 | } |
| 591 | } |
| 592 | |
| 593 | /** |
| 594 | * Returns the descriptor corresponding to the given argument and return types. |
no test coverage detected