<BUG>ExpressionStmt expr = (ExpressionStmt) methodDeclaration.getBody().get().getStmts().get(1);TypeSolver typeSolver = new ReflectionTypeSolver();</BUG><CONTEXT>@Testpublic void typeDeclarationSuperClassImplicitlyIncludeObject() throws ParseException {CompilationUnit cu = parseSample("Issue18");ClassOrInterfaceDeclaration clazz = Navigator.demandClass(cu, "Foo");MethodDeclaration methodDeclaration = Navigator.demandMethod(clazz, "bar");<extra_id_0>JavaParserFacade javaParserFacade = JavaParserFacade.get(typeSolver);Type type = javaParserFacade.getType(expr.getExpression());assertEquals("java.lang.Object", type.describe());</CONTEXT>
ExpressionStmt expr = (ExpressionStmt) methodDeclaration.getBody().getStmts().get(1);TypeSolver typeSolver = new ReflectionTypeSolver();