(ClassInstance cls, NameType type, StringBuilder out)
| 232 | } |
| 233 | |
| 234 | private static boolean appendId(ClassInstance cls, NameType type, StringBuilder out) { |
| 235 | if (type == NameType.PLAIN || cls.isPrimitive()) { |
| 236 | out.append(cls.id); |
| 237 | } else { |
| 238 | String name = cls.getName(type); |
| 239 | if (name == null) return false; |
| 240 | |
| 241 | if (cls.isArray()) { |
| 242 | out.append(name); |
| 243 | } else { |
| 244 | out.append('L'); |
| 245 | out.append(name); |
| 246 | out.append(';'); |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | return true; |
| 251 | } |
| 252 | |
| 253 | @Override |
| 254 | public boolean isReal() { |
no test coverage detected