Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » What API level will AST returned by SharedASTProvider.getAST(...) have?
What API level will AST returned by SharedASTProvider.getAST(...) have? [message #1751385] Mon, 09 January 2017 15:55
Andreas Sewe is currently offline Andreas SeweFriend
Messages: 111
Registered: June 2013
Senior Member
Hi,

what assumption can I make on SharedASTProvider.getAST(...).getAST().apiLevel()?

In particular, if I am running on a post-Kepler JDT, can I still get a pre-AST.JLS8 AST? I ask because dealing with JLS4 vs. JLS8 incompatibilities like, e.g., whether to call MethodDeclaration.thrownExceptions() or MethodDeclaration.thrownExceptionTypes(), is a big nuisance.

Best wishes,

Andreas
Previous Topic:ProjectBuilder: ASTParser does not resolve Bindings
Next Topic:Text to speech
Goto Forum:
  


Current Time: Thu Apr 25 21:14:00 GMT 2024

Powered by FUDForum. Page generated in 0.02591 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top