This post explains how to automate logging in Java methods using JavaParser. The provided code parses a Java file, locates a Logger instance, and injects Entering and Exiting log statements at the start and end of each method. This automation saves time and makes tracking program flow easier without manual log insertion.
Java
Field notes on AEM, Java, web development, performance, tooling, and the little fixes that save future-you an afternoon.
Java utility designed to replicate mouse click events triggered by a timer.
Read featuredBrowse the archive
Latest Articles
This blog post explains how to create a custom service in AEM to monitor replication queues. The service checks if the queue is blocked and sends notifications to admin users if issues arise. It also includes a scheduler to automatically run the monitoring at set intervals.
A java utility to convert Java bytecode to readable code seamlessly through a user-friendly graphical interface, simplifying code analysis and comprehension
Java utility designed to replicate mouse click events triggered by a timer.
This post provides an in-depth tutorial for mastering XPath queries in Java, covering setup and practical examples for efficient XML document manipulation.
Learn how to perform offline compaction in aem to reduce the repository size on windows machine.
Learn how to resolve PKIX path building issues during java based application development.
Learn how to store your PuTTY session information so that you don't enter username and password everytime you log in.
Learn how to transliterate text from asian languages to english