-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Begin Work on Removing Lombok Dep From Project
This is a massive annoyance as I never should've had a lombok dep in the first place. It was worth experimenting with but didn't turn out to be particularly useful to me. I'm particularly removing this now because after the migration to the latest Bazel version I suddenly need to use the --nojava_header_compilation flag on all of my bazel build/run commands simply because Lombok has some obnoxious failure mode w/o it. Lombok's not fully removed in this CL but this required a ton of manual refactoring so I'm checking this in now.
- Loading branch information
1 parent
7f7964d
commit 247f42d
Showing
15 changed files
with
746 additions
and
729 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
6.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
package com.claro; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import com.google.auto.value.AutoValue; | ||
|
||
import java.util.function.Supplier; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
public class LexedValue<T> { | ||
public final T val; | ||
public final Supplier<String> currentInputLine; | ||
public final int len; | ||
@AutoValue | ||
public abstract class LexedValue<T> { | ||
public abstract T getVal(); | ||
|
||
public abstract Supplier<String> getCurrentInputLine(); | ||
|
||
public abstract int getLen(); | ||
|
||
public static <T> LexedValue<T> create(T val, Supplier<String> currentInputLine, int len) { | ||
return new AutoValue_LexedValue<>(val, currentInputLine, len); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.