return new int[] {strNode.getValue().get(0)};
} else {
return new int[] {strNode.getValue().hashCode()};
}
} else if (whenNode.getExpressionNodes() instanceof SymbolNode) {
SymbolNode symbolNode = (SymbolNode)whenNode.getExpressionNodes();
if (symbolNode.getName().length() == 1) {
return new int[] {symbolNode.getName().charAt(0)};
} else {
return new int[] {symbolNode.getName().hashCode()};
}
}
return null;
}