PMD Source Code Reading (3) — Rule Checking
PMD uses built-in coding rules to perform static checks on the code. It obtains the abstract syntax tree (AST) of the code through JavaCC and JJTree, and then checks the nodes of the syntax tree.
PMD uses built-in coding rules to perform static checks on the code. It obtains the abstract syntax tree (AST) of the code through JavaCC and JJTree, and then checks the nodes of the syntax tree.
This article introduces the principles of CPD code copy-paste detection, a method that can be used for detecting copy-pasting in any text.
During this period, I have been working on code analysis, so I want to understand the principles of related tools. PMD is a Java static code analysis tool that mainly includes two parts: duplicate code detection and code rule checking.
RxJava provides very convenient thread switching capabilities. This article will explore how thread scheduling in RxJava is implemented.
This article will introduce several important classes in the implementation of RxJava.
In the previous article, we roughly understood the basic principles of AndroidAnnotations. This article will detail the workflow of this framework.
AndroidAnnotations is an open-source framework that accelerates development, as can be seen from its name, which simplifies code by providing rich annotations.
The best time to plant a tree was ten years ago. The second best time is now.