Up next

Code Inspection with the javac

26 Views· 14 Aug 2019
ITCOURSES
ITCOURSES
5 subscribers
0

As covered last year, the javac, the standard Java compiler, is not only a Java compiler but can also be used as a great library for Java source code modeling. This tutorial dives deeper into this topic, showing—on the code level—how to use the javac to build tools that analyze Java code. Such tools may compute code metrics, verify code sanity, or check for common antipatterns. The session discusses the overall javac structure; how it works; and its APIs, including JSR 269 APIs. Then it demonstrates how to invoke the javac as a library, how to access its abstract syntax tree, and how to work with it.


Copyright © 2013 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the "Materials"). The Materials are provided "as is" without any warranty of any kind, either express or implied, including without limitation warranties of merchantability, fitness for a particular purpose, and non-infringement.

Show more
100% online learning from the world's best universities, organisations and Instructors

 0 Comments sort   Sort By


Up next