From 7f3262b01d1fc7cc68c1283a7dcb191fe529b33e Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 27 May 2014 21:13:15 +0200 Subject: removed out of date docs that we don’t use, and updated the download link to our own server. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website/download.html | 2 +- website/slideshow.html | 114 --------------------------------- website/slideshow/eclipse-generate.png | Bin 271589 -> 0 bytes website/slideshow/eclipse-lombok.png | Bin 139950 -> 0 bytes website/slideshow/javac.png | Bin 91166 -> 0 bytes website/slideshow/slideshow.css | 18 ------ 6 files changed, 1 insertion(+), 133 deletions(-) delete mode 100644 website/slideshow.html delete mode 100644 website/slideshow/eclipse-generate.png delete mode 100644 website/slideshow/eclipse-lombok.png delete mode 100644 website/slideshow/javac.png delete mode 100644 website/slideshow/slideshow.css (limited to 'website') diff --git a/website/download.html b/website/download.html index 9cd56911..afacde2b 100644 --- a/website/download.html +++ b/website/download.html @@ -40,7 +40,7 @@
- + diff --git a/website/slideshow.html b/website/slideshow.html deleted file mode 100644 index ee8f15ee..00000000 --- a/website/slideshow.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - Project Lombok - - - Fork me on GitHub -
-

Project Lombok

- - -
-
- Imagine you have a very simple class: -
public class Mountain { - private final String name; - private final double latitude, longitude; - private String country; -}
-

- While that is fairly clear, that class is not complete. In fact, it won't compile like that.
- You'll need to add a constructor to initialize those final fields, you probably want getters, a setter for country, - and to be complete, a nice toString as well as an implementation for equals and hashCode. - Eclipse can generate all these methods for you, but then you end up with over 70 lines of boilerplate. It's going to be hard - to see any surprises buried amongst all those lines of code! Lombok has the answer to this problem. -

- So instead of this mess: - - lombok simply offers you an annotation that tells eclipse to generate all this stuff for us silently, without - cluttering up your source file, like so: - -

- Note how we haven't even saved the file yet, but in the outline view you can already see all the various methods generated - by the @Data annotation. That's because lombok is completely integrated into eclipse. The moment you type - the last character of your annotation, all the methods exist, just as if you write the last character on a method declaration. - In other words, lombok is not just an annotation processor! -

- But what about your build process? Lombok works just as well in javac. All you need to do is add - lombok.jar to the class path as you compile. Like so: - -

- @Data is nice, but its certainly not the only boilerplate buster that lombok has to offer. If you need - more fine grained control, there's @Getter and @Setter, and to help you in correctly - cleaning up your resources, @Cleanup can automatically and without cluttering your source files generate - try/finally blocks to safely call close() on your resource objects. That's not all, but for the complete - list you'll need to head over to the feature overview. -

- Ready to install lombok? Start by clicking the download button at the top of this page. Going from clicking that button - to having your eclipse ready to go takes less than 12 seconds - it's that simple. -

- Thanks for checking out Project Lombok, and let us know what you think! -

- If you'd like to read more, check out - Reducing boilerplate code with Project Lombok - written by Michael Kimberlin. -

-
- - -
- - - diff --git a/website/slideshow/eclipse-generate.png b/website/slideshow/eclipse-generate.png deleted file mode 100644 index db020c03..00000000 Binary files a/website/slideshow/eclipse-generate.png and /dev/null differ diff --git a/website/slideshow/eclipse-lombok.png b/website/slideshow/eclipse-lombok.png deleted file mode 100644 index 52eea078..00000000 Binary files a/website/slideshow/eclipse-lombok.png and /dev/null differ diff --git a/website/slideshow/javac.png b/website/slideshow/javac.png deleted file mode 100644 index 4a37a915..00000000 Binary files a/website/slideshow/javac.png and /dev/null differ diff --git a/website/slideshow/slideshow.css b/website/slideshow/slideshow.css deleted file mode 100644 index 69c60580..00000000 --- a/website/slideshow/slideshow.css +++ /dev/null @@ -1,18 +0,0 @@ - -p { - margin: 4px 0 4px 0; -} - -.screenshot { - margin: 4px 0 4px 0; - width: 800px; - height: 480px; -} - -.snippet { - font-family: "Courier New", Courier; - font-weight: bold; - white-space: pre; - padding: 4px 16px 4px 16px; - border: 1px #888 dashed; -} -- cgit