()
| 122 | } |
| 123 | |
| 124 | public String getSimpleName() { |
| 125 | if ((vmClass.vmFlags & PrimitiveFlag) != 0) { |
| 126 | return getName(); |
| 127 | } else if (isArray()) { |
| 128 | return getComponentType().getSimpleName() + "[]"; |
| 129 | } else { |
| 130 | String name = getCanonicalName(); |
| 131 | int index = name.lastIndexOf('.'); |
| 132 | if (index >= 0) { |
| 133 | return name.substring(index + 1); |
| 134 | } else { |
| 135 | return name; |
| 136 | } |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | public T newInstance() |
| 141 | throws IllegalAccessException, InstantiationException |
no test coverage detected