summaryrefslogtreecommitdiff
path: root/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousInnerClassMayBeStatic.html
blob: 9311966c365bd142edeeb4fe5b2b5f2ffb120a9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<html>
<body>
This inspection is intended for J2ME and other highly resource constrained environments.
Applying the results of this inspection without consideration might have negative effects on code clarity and design.
<p>
Reports any anonymous inner classes which may safely be made into a named
<b>static</b> inner class. An inner class may be static if it doesn't reference
its enclosing class instance or local variables. A static inner class uses slightly less memory.
  <!-- tooltip end -->
<p>

</body>
</html>