Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / internal / ui / text / JavaIndenter.java
index 9f90b1e..0a1c9a2 100644 (file)
@@ -95,9 +95,9 @@ public class JavaIndenter {
         *         reference position to <code>offset</code> resides, or
         *         <code>null</code> if it cannot be determined
         */
-       public StringBuffer getReferenceIndentation(int offset) {
-               return getReferenceIndentation(offset, false);
-       }
+//     public StringBuffer getReferenceIndentation(int offset) {
+//             return getReferenceIndentation(offset, false);
+//     }
 
        /**
         * Computes the indentation at the reference point of <code>position</code>.
@@ -332,9 +332,9 @@ public class JavaIndenter {
         * @return the reference statement relative to which <code>offset</code>
         *         should be indented, or {@link JavaHeuristicScanner#NOT_FOUND}
         */
-       public int findReferencePosition(int offset) {
-               return findReferencePosition(offset, peekChar(offset));
-       }
+//     public int findReferencePosition(int offset) {
+//             return findReferencePosition(offset, peekChar(offset));
+//     }
 
        /**
         * Peeks the next char in the document that comes after <code>offset</code>
@@ -1467,41 +1467,41 @@ public class JavaIndenter {
                return 1; // sensible default
        }
 
-       private boolean prefIndentBracesForBlocks() {
-               Plugin plugin = JavaCore.getPlugin();
-               if (plugin != null) {
-                       String option = JavaCore
-                                       .getOption(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK);
-                       return option
-                                       .equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED);
-               }
-
-               return false; // sensible default
-       }
-
-       private boolean prefIndentBracesForArrays() {
-               Plugin plugin = JavaCore.getPlugin();
-               if (plugin != null) {
-                       String option = JavaCore
-                                       .getOption(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER);
-                       return option
-                                       .equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED);
-               }
-
-               return false; // sensible default
-       }
-
-       private boolean prefIndentBracesForMethods() {
-               Plugin plugin = JavaCore.getPlugin();
-               if (plugin != null) {
-                       String option = JavaCore
-                                       .getOption(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION);
-                       return option
-                                       .equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED);
-               }
-
-               return false; // sensible default
-       }
+//     private boolean prefIndentBracesForBlocks() {
+//             Plugin plugin = JavaCore.getPlugin();
+//             if (plugin != null) {
+//                     String option = JavaCore
+//                                     .getOption(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK);
+//                     return option
+//                                     .equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED);
+//             }
+//
+//             return false; // sensible default
+//     }
+
+//     private boolean prefIndentBracesForArrays() {
+//             Plugin plugin = JavaCore.getPlugin();
+//             if (plugin != null) {
+//                     String option = JavaCore
+//                                     .getOption(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER);
+//                     return option
+//                                     .equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED);
+//             }
+//
+//             return false; // sensible default
+//     }
+
+//     private boolean prefIndentBracesForMethods() {
+//             Plugin plugin = JavaCore.getPlugin();
+//             if (plugin != null) {
+//                     String option = JavaCore
+//                                     .getOption(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION);
+//                     return option
+//                                     .equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED);
+//             }
+//
+//             return false; // sensible default
+//     }
 
        private int prefContinuationIndent() {
                Plugin plugin = JavaCore.getPlugin();