Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaybit0 committed Jan 29, 2025
1 parent 0c25af4 commit 5aa69ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void setAllowedMultiReferences(Set<RewriterStatement> allowed, boolean al

/**
* Overwrites the rule as a conditional rule
* @param targets
* @param targets all possible target statements
*/
public void setConditional(List<RewriterStatement> targets) {
toRoots = targets;
Expand All @@ -156,8 +156,7 @@ public RewriterStatement getStmt1() {

/**
* Returns the target statement.
* In case of a multi-rule, this will return the first option of the multi-rule targets.
* @return
* @return the target statement; in case of a multi-rule, this will return the first option
*/
public RewriterStatement getStmt2() {
return toRoot != null ? toRoot : toRoots.get(0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public void codeGen() {
System.out.println(rule);
}*/

RewriterCodeGen.DEBUG = false;
RewriterCodeGen.DEBUG = true;
String javaCode = ruleSet.toJavaCode("GeneratedRewriteClass", true, 2, true, true, true);
String filePath = "/Users/janniklindemann/Dev/MScThesis/other/GeneratedRewriteClass.java";

Expand Down

0 comments on commit 5aa69ea

Please # to comment.