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: 109
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: Wed Nov 22 07:23:15 GMT 2017

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

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