diff options
author | Robbert Jan Grootjans <grootjans@gmail.com> | 2013-03-08 16:54:02 +0100 |
---|---|---|
committer | Robbert Jan Grootjans <grootjans@gmail.com> | 2013-03-08 16:54:02 +0100 |
commit | 4be46113e81292a88cd5fdb3a5ce18fbcffd570d (patch) | |
tree | bf7d19e2121472d0d0370f3908fd6ac5f995e98b /src/stubs/com/sun/tools/javac | |
parent | 12771880260d57209afcda15fd2b00f3181c38a6 (diff) | |
download | lombok-4be46113e81292a88cd5fdb3a5ce18fbcffd570d.tar.gz lombok-4be46113e81292a88cd5fdb3a5ce18fbcffd570d.tar.bz2 lombok-4be46113e81292a88cd5fdb3a5ce18fbcffd570d.zip |
Compiler options can now be specified for JDK 8 or JDK 6/7 or lower.
After this was finalized I realize that we might consider moving entirely
to String based options, instead of inferring the options from the
provided enum. This setup does have the benefit of throwing exceptions when
options are not present.
Diffstat (limited to 'src/stubs/com/sun/tools/javac')
-rw-r--r-- | src/stubs/com/sun/tools/javac/main/Option.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stubs/com/sun/tools/javac/main/Option.java b/src/stubs/com/sun/tools/javac/main/Option.java new file mode 100644 index 00000000..f3229c78 --- /dev/null +++ b/src/stubs/com/sun/tools/javac/main/Option.java @@ -0,0 +1,10 @@ +/* + * These are stub versions of various bits of javac-internal API (for various different versions of javac). Lombok is compiled against these. + */ +package com.sun.tools.javac.main; + + +public enum Option { + ; + public String text; +} |