...
| Wiki Markup |
|---|
\[[JLS 2005|AA. Bibliography#JLS 05]\] [Section 6.3.2|http://java.sun.com/docs/books/jls/third_edition/html/names.html#6.3.2] "Obscured Declarations", [Section 6.3.1|http://java.sun.com/docs/books/jls/third_edition/html/names.html#6.3.1] "Shadowing Declarations", [Section 14.4.3|http://java.sun.com/docs/books/jls/third_edition/html/statements.html#14.4.3] "Shadowing of Names by Local Variables"
\[[Bloch 2005|AA. Bibliography#Bloch 05]\] Puzzle 67: All Strung Out
\[[Bloch 2008|AA. Bibliography#Bloch 08]\] Item 16: Prefer interfaces to abstract classes
\[[Kabanov 2009|AA. Bibliography#Kabanov 09]\]
\[[Conventions 2009|AA. Bibliography#Conventions 09]\] 6.3 Placement
\[[FindBugs 2008|AA. Bibliography#FindBugs 08]\]:
|
- Nm:
...
- Class
...
- names
...
- shouldn't
...
- shadow
...
- simple
...
- name
...
- of
...
- implemented
...
- interface
...
- Nm:
...
- Class
...
- names
...
- shouldn't
...
- shadow
...
- simple
...
- name
...
- of
...
- superclass
...
- MF:
...
- Class
...
- defines
...
- field
...
- that
...
- masks
...
- a
...
- superclass
...
- field
...
- MF:
...
- Method
...
- defines
...
- a
...
- variable
...
- that
...
- obscures
...
- a
...
- field
...
SCP01-J. Do not increase the accessibility of overridden or hidden methods 05. Scope (SCP) SCP03-J. Do not expose sensitive private members of the outer class from within a nested class