aboutsummaryrefslogtreecommitdiff
path: root/website/features/GetterSetter.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-07-17 21:25:36 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-07-17 21:25:36 +0200
commit642dad3f0c13a8a900aac21fe26e1eb672fbb5a6 (patch)
tree8b7c7577ad569d430ffc0ce278abd19248e6c774 /website/features/GetterSetter.html
parent3bfe8d21610b7d92aa932685bc40abf011295328 (diff)
downloadlombok-642dad3f0c13a8a900aac21fe26e1eb672fbb5a6.tar.gz
lombok-642dad3f0c13a8a900aac21fe26e1eb672fbb5a6.tar.bz2
lombok-642dad3f0c13a8a900aac21fe26e1eb672fbb5a6.zip
Very minor typos in Data/GetterSetter, added an index page for the features overview, and increased transparancy on the pepper background.
Diffstat (limited to 'website/features/GetterSetter.html')
-rw-r--r--website/features/GetterSetter.html29
1 files changed, 16 insertions, 13 deletions
diff --git a/website/features/GetterSetter.html b/website/features/GetterSetter.html
index 9840d3ba..e865cfff 100644
--- a/website/features/GetterSetter.html
+++ b/website/features/GetterSetter.html
@@ -20,9 +20,23 @@
if the field's type is <code>boolean</code>). A default setter is named <code>setFoo</code> if the field is called <code>foo</code>, returns <code>void</code>,
and takes 1 parameter of the same type as the field. It simply sets the field to this value.
</p><p>
- The generated getter/setter method will be <code>public</code> unless you explicitly specify an <code>AccessLevel</code>, as shown in the example below.
+ The generated getter/setter method will be <code>public</code> unless you explicitly specify an <code>AccessLevel</code>, as shown in the example above.
Legal access levels are <code>PUBLIC</code>, <code>PROTECTED</code>, <code>PACKAGE</code>, and <code>PRIVATE</code>.
</p>
+ </div>
+ <div class="snippets">
+ <div class="pre">
+ <h3>With Lombok</h3>
+ <div class="snippet">@HTML_PRE@</div>
+ </div>
+ <div class="sep"></div>
+ <div class="post">
+ <h3>Vanilla Java</h3>
+ <div class="snippet">@HTML_POST@</div>
+ </div>
+ </div>
+ <div style="clear: left;"></div>
+ <div class="overview">
<h3>Small print</h3><div class="smallprint">
<p>
For generating the method names, the first character of the field, if it is a lowercase character, is title-cased, otherwise, it is left unmodified.
@@ -37,19 +51,8 @@
</p>
</div>
</div>
- <div class="snippets">
- <div class="pre">
- <h3>With Lombok</h3>
- <div class="snippet">@HTML_PRE@</div>
- </div>
- <div class="sep"></div>
- <div class="post">
- <h3>Vanilla Java</h3>
- <div class="snippet">@HTML_POST@</div>
- </div>
- </div>
<footer>
- <a href="features.html">Back to features</a> | <span class="disabled">Previous feature</span> | <a href="Data.html">Next feature (@Data)</a><br />
+ <a href="index.html">Back to features</a> | <span class="disabled">Previous feature</span> | <a href="Data.html">Next feature (@Data)</a><br />
<span class="copyright">Copyright &copy; 2009 Reinier Zwitserloot and Roel Spilker, licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT licence</a>.</span>
</footer>
<div style="clear: both;"></div>