Index: trunk/src/org/openstreetmap/josm/actions/MoveAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/MoveAction.java	(revision 11977)
+++ trunk/src/org/openstreetmap/josm/actions/MoveAction.java	(revision 11978)
@@ -28,5 +28,17 @@
 public class MoveAction extends JosmAction {
 
-    public enum Direction { UP, LEFT, RIGHT, DOWN }
+    /**
+     * Move direction.
+     */
+    public enum Direction {
+        /** Move up */
+        UP,
+        /** Move left */
+        LEFT,
+        /** Move right */
+        RIGHT,
+        /** Move down */
+        DOWN
+    }
 
     private final Direction myDirection;
Index: trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java	(revision 11977)
+++ trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java	(revision 11978)
@@ -495,5 +495,5 @@
     }
 
-    private enum Direction {
+    enum Direction {
         RIGHT, UP, LEFT, DOWN;
         public Direction changeBy(int directionChange) {
Index: trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java	(revision 11977)
+++ trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java	(revision 11978)
@@ -60,5 +60,5 @@
     private boolean drawTargetHighlight;
 
-    private enum DeleteMode {
+    enum DeleteMode {
         none(/* ICON(cursor/modifier/) */ "delete"),
         segment(/* ICON(cursor/modifier/) */ "delete_segment"),
@@ -75,4 +75,8 @@
         }
 
+        /**
+         * Returns the mode cursor.
+         * @return the mode cursor
+         */
         public Cursor cursor() {
             return c;
Index: trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java	(revision 11977)
+++ trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java	(revision 11978)
@@ -59,5 +59,5 @@
     private static final String CROSSHAIR = "crosshair";
 
-    private enum State {
+    enum State {
         SELECTING, IMPROVING
     }
Index: trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java	(revision 11977)
+++ trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java	(revision 11978)
@@ -120,5 +120,5 @@
     // @formatter:on
 
-    private enum Mode {
+    enum Mode {
         DRAGGING, NORMAL
     }
@@ -615,5 +615,5 @@
     }
 
-    private enum Modifier {
+    enum Modifier {
         CTRL('c'),
         ALT('a'),
Index: trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java	(revision 11977)
+++ trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java	(revision 11978)
@@ -86,5 +86,5 @@
 
     // contains all possible cases the cursor can be in the SelectAction
-    private enum SelectActionCursor {
+    enum SelectActionCursor {
 
         rect(NORMAL, "selection"),
@@ -114,4 +114,8 @@
         }
 
+        /**
+         * Returns the action cursor.
+         * @return the cursor
+         */
         public Cursor cursor() {
             return c;
Index: trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java	(revision 11977)
+++ trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java	(revision 11978)
@@ -67,4 +67,7 @@
     private static final String SEARCH_EXPRESSION = "searchExpression";
 
+    /**
+     * Search mode.
+     */
     public enum SearchMode {
         /** replace selection */
Index: trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java	(revision 11977)
+++ trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java	(revision 11978)
@@ -746,5 +746,5 @@
     public static class ExactKeyValue extends TaggedMatch {
 
-        private enum Mode {
+        enum Mode {
             ANY, ANY_KEY, ANY_VALUE, EXACT, NONE, MISSING_KEY,
             ANY_KEY_REGEXP, ANY_VALUE_REGEXP, EXACT_REGEXP, MISSING_KEY_REGEXP;
@@ -757,4 +757,11 @@
         private final Mode mode;
 
+        /**
+         * Constructs a new {@code ExactKeyValue}.
+         * @param regexp regular expression
+         * @param key key
+         * @param value value
+         * @throws ParseError if a parse error occurs
+         */
         public ExactKeyValue(boolean regexp, String key, String value) throws ParseError {
             if ("".equals(key))
