paper-with-me

홈 › Papers

Embedding Software Intent: Lightweight Java Module Recovery

2025-12-17 · Yirui He, Yuqi Huai, Xingyu Chen, Joshua Garcia arxiv

As an increasing number of software systems reach unprecedented scale, relying solely on code-level abstractions is becoming impractical. While architectural abstractions offer a means to manage these systems, maintaining their consistency with the actual code has been problematic. The Java Platform Module System (JPMS), introduced in Java 9, addresses this limitation by enabling explicit module specification at the language level. JPMS enhances architectural implementation through improved encapsulation and direct specification of ground-truth architectures within Java projects. Although many projects are written in Java, modularizing existing monolithic projects to JPMS modules is an open challenge due to ineffective module recovery by existing architecture recovery techniques. To address this challenge, this paper presents ClassLAR (Class-and Language model-based Architectural Recovery), a novel, lightweight, and efficient approach that recovers Java modules from monolithic Java systems using fully-qualified class names. ClassLAR leverages language models to extract semantic information from package and class names, capturing both structural and functional intent. In evaluations across 20 popular Java projects, ClassLAR outperformed all state-of-the-art techniques in architectural-level similarity metrics while achieving execution times that were 3.99 to 10.50 times faster.

📄 PDF Abstract BibTeX arXiv:2512.15980

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CommitDistill: A Lightweight Knowledge-Centric Memory Layer for Software Repositories

2026-05-18 · Divya Chukkapalli, Thejesh Avula, Aditya Aggarwal, Harsimran Singh 외 arxiv

Software repositories accumulate large amounts of unstructured knowledge in commit messages, pull-request discussions, and issue threads, but developers and AI coding assistants rarely reuse this history effectively. Rec…

Import2vec - Learning Embeddings for Software Libraries

2019-03-27 · Bart Theeten, Frederik Vandeputte, Tom Van Cutsem

We consider the problem of developing suitable learning representations (embeddings) for library packages that capture semantic similarity among libraries. Such representations are known to improve the performance of dow…

Semantic SimilaritySemantic Textual Similarity

Static Metrics Are Insufficient: Predicting Java Method Energy Usage with Execution Time

2026-07-07 · Muhammad Imran, Vincenzo Stoico, Ivano Malavolta arxiv

The increasing energy demand of software systems is raising concerns about their environmental impact and associated costs. Reasoning on energy usage early in the development flow has the potential to significantly reduc…

JavaBERT: Training a transformer-based model for the Java programming language

2021-10-20 · Nelson Tavares de Sousa, Wilhelm Hasselbring

Code quality is and will be a crucial factor while developing new software code, requiring appropriate tools to ensure functional and reliable code. Machine learning techniques are still rarely used for software engineer…

Language ModelingLanguage ModellingMasked Language ModelingRetrieval

Embedding Java Classes with code2vec: Improvements from Variable Obfuscation

2020-04-06 · Rhys Compton, Eibe Frank, Panos Patros, Abigail Koay

Automatic source code analysis in key areas of software engineering, such as code security, can benefit from Machine Learning (ML). However, many standard ML approaches require a numeric representation of data and cannot…

Code ClassificationMethod name prediction