The ToolProvider class provides the entry point of the compiler APIs. It also provides a Service Provider Interface (SPI) for structured access to diagnostics and file abstraction for overriding file access. It provides a framework that allow clients to locate and run compilers from their own application code. The javax.tools package provides interfaces and classes to work with the Java compiler and can be invoked from a program during execution. The model, element, and type packages deal with the elements of Java programming language whereas the util package assists in the processing of program elements and types. It enables communication between the annotation processor and annotation processing tools environment. The annotation processing facilitates access to annotation processor which can be thought of as a plug-in to the Java compiler. It defines the type and model declaration of the Java programming language and compiler tools that can be invoked from an application code during execution. This module includes the language model and annotation processing, along with compiler APIs. The Java Compiler APIs are part of a Java module called piler.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |