Skip to content

Commit

Permalink
ASTParser.newParser(AST.getJLSLatest());
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed May 16, 2024
1 parent bcad9a9 commit a5bae6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public class JdtBasedTypeFactory extends AbstractDeclaredTypeFactory implements
* A cached AST parser that's reused by top-level type {@link #createType(IType) creation}.
*/
@SuppressWarnings("all")
private final ASTParser parser = ASTParser.newParser(AST.JLS3);
private final ASTParser parser = ASTParser.newParser(AST.getJLSLatest());

/**
* The cached binding for <code>java.lang.String</code>.
Expand Down

0 comments on commit a5bae6d

Please sign in to comment.