![]() ![]() ![]() In general, these APIs are not very well documented or supported and could change any time. ![]() On the other side, the Java Compiler Tree API is hosted under the package and, following Java standard library naming conventions, is considered to be non-standard (proprietary or internal). Language model used in annotation processing and Compiler Tree API (including Java language elements, types and utility classes). The Java Compiler API also supports annotation processing (for more details please refer to part 5 of the tutorial, How and when to use Enums and Annotations, more to come in part 14 of the tutorial, Annotation Processors) and is split between three different packages, shown in the table below. It is a very powerful API which is heavily utilized by many static code analysis tools. By using this API, Java developers have the ability to directly plug into syntax parsing phase and post-analyze Java source code being compiled. More interestingly, we also are going to walk through the Java Compiler Tree API, which provides access to Java syntax parser functionality. This API provides programmatic access to the Java compiler itself and allows developers to compile Java classes from source files on the fly from application code. In this part of the tutorial we are going to take 10000 feet view of the Java Compiler API. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |