case ASTNode.BOOLEAN_LITERAL :
case ASTNode.NULL_LITERAL :
case ASTNode.CHARACTER_LITERAL :
case ASTNode.NUMBER_LITERAL :
Literal literal = (Literal) this.newAstToOldAst.get(expression);
return this.getTypeBinding(literal.literalType(null));
case ASTNode.THIS_EXPRESSION :
ThisReference thisReference = (ThisReference) this.newAstToOldAst.get(expression);
BlockScope blockScope = (BlockScope) this.astNodesToBlockScope.get(expression);
if (blockScope != null) {
return this.getTypeBinding(thisReference.resolveType(blockScope));