< prev index next >
src/java.compiler/share/classes/javax/lang/model/element/NestingKind.java
Print this page
@@ -109,11 +109,11 @@
* Does this constant correspond to a nested type element?
* A <i>nested</i> type element is any that is not top-level.
* More specifically, an <i>inner</i> type element is any nested type element that
* is not {@linkplain Modifier#STATIC static}.
* @return whether or not the constant is nested
- * @jls 14.3 Inner Classes and Enclosing Instances
+ * @jls 14.3 Local Class Declarations
*/
public boolean isNested() {
return this != TOP_LEVEL;
}
}
< prev index next >