...
Wiki Markup |
---|
According to [§66.3.2|http://java.sun.com/docs/books/jls/third_edition/html/names.html#6.3.2], "Obscured Declarations" of the _Java Language Specification_ \[[JLS 2005|AA. Bibliography#JLS 05]\] |
A simple name may occur in contexts where it may potentially be interpreted as the name of a variable, a type, or a package. In these situations, the rules of §66.5 specify that a variable will be chosen in preference to a type, and that a type will be chosen in preference to a package.
...
Wiki Markup |
---|
\[[JLS 2005|AA. Bibliography#JLS 05]\] [§66.3.2|http://java.sun.com/docs/books/jls/third_edition/html/names.html#6.3.2] "Obscured Declarations" [§66.3.1|http://java.sun.com/docs/books/jls/third_edition/html/names.html#6.3.1] "Shadowing Declarations" [§77.5.2|http://java.sun.com/docs/books/jls/third_edition/html/packages.html#7.5.2] "Type-Import-On_Demand Declaration" [§1414.4.3|http://java.sun.com/docs/books/jls/third_edition/html/statements.html#14.4.3] "Shadowing of Names by Local Variables" |
Wiki Markup |
---|
\[[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]\] |
...
MET17DCL14-J. Do not increase Minimize the accessibility of overridden or hidden methods OBJ17scope of variables 01. Declarations and Initialization (DCL) DCL16-J. Do not expose sensitive private members of an outer class from within a nested classreuse public identifiers from the Java Standard Library