Skip to content

Lara dsl deprecation#42

Merged
lm-sousa merged 75 commits intostagingfrom
lara-dsl-deprecation
Jan 18, 2026
Merged

Lara dsl deprecation#42
lm-sousa merged 75 commits intostagingfrom
lara-dsl-deprecation

Conversation

@lm-sousa
Copy link
Copy Markdown
Member

@lm-sousa lm-sousa commented Sep 4, 2025

No description provided.

lm-sousa added 30 commits June 16, 2025 16:25
…ild configurations for JavaWeaver and KadabraAPI
…tionUtils and related methods

- Removed WeaverProfiler parameter from various methods in ActionUtils, AdapterGenerator, MapGenerator, and other classes.
- Updated insert and new method implementations to simplify method signatures.
- Cleaned up unused imports and commented-out code across multiple joinpoint classes.
- Enhanced readability and maintainability by streamlining method parameters and reducing unnecessary complexity.
joaobispo and others added 25 commits January 8, 2026 23:46
… AST code, instead of acting like a 'rebuild'
… a "woven_code" folder inside the given output folder
@lm-sousa lm-sousa marked this pull request as ready for review January 18, 2026 00:49
Copilot AI review requested due to automatic review settings January 18, 2026 00:49
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR deprecates the Lara DSL approach by removing auto-generated abstract join point classes and related infrastructure, transitioning to a different implementation strategy for the JavaWeaver join point hierarchy.

Changes:

  • Removed 22+ auto-generated abstract join point classes (AFile, AField, AClass, ACall, etc.)
  • Updated AJavaWeaverJoinPoint to remove SelectOp dependency and rename def methods to set methods
  • Deleted the JavaWeaver.dotty join point hierarchy visualization file

Reviewed changes

Copilot reviewed 53 out of 427 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
AFile.java Removed auto-generated file join point class
AFieldAccess.java Removed auto-generated field access join point class
AField.java Removed auto-generated field join point class
AExpression.java Removed auto-generated expression join point class
AExecutable.java Removed auto-generated executable join point class
AEnumValue.java Removed auto-generated enum value join point class
AEnum.java Removed auto-generated enum join point class
ADeclaration.java Removed auto-generated declaration join point class
AContinue.java Removed auto-generated continue statement join point class
AConstructor.java Removed auto-generated constructor join point class
AComment.java Removed auto-generated comment join point class
AClass.java Removed auto-generated class join point class
ACatch.java Removed auto-generated catch join point class
ACase.java Removed auto-generated case join point class
ACallStatement.java Removed auto-generated call statement join point class
ACall.java Removed auto-generated call join point class
ABreak.java Removed auto-generated break statement join point class
ABody.java Removed auto-generated body join point class
AAssert.java Removed auto-generated assert statement join point class
AJavaWeaverJoinPoint.java Removed SelectOp import, renamed defLineImpl to setLineImpl methods, removed generic select function, changed toAStatement return type
JavaWeaver.dotty Removed join point hierarchy visualization file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


@Override
public void defLineImpl(Integer value) {
public void setLineImpl(int value) {
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method signature change from defLineImpl(Integer value) to setLineImpl(int value) changes from boxed Integer to primitive int. This could cause issues if null values were previously handled or if callers pass null, as primitives cannot be null.

Copilot uses AI. Check for mistakes.
@lm-sousa lm-sousa merged commit 8fbafcd into staging Jan 18, 2026
9 checks passed
@lm-sousa lm-sousa deleted the lara-dsl-deprecation branch January 18, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants