This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
String name = getName(et);
if (name == null) {
if(et instanceof LiteralTree) {
if (et instanceof LiteralTree) {
String guess = (String) ((LiteralTree) et).getValue();
LiteralTree literalTree= (LiteralTree) et;
if (guess != null)
//142405 check is LiteralTree.getValue() String before cast
if (literalTree.getValue() instanceof String) {
String guess = (String) literalTree.getValue();
return guessLiteralName(guess);
} else {
return DEFAULT_NAME;
}
} else