A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / text / java / IInvocationContext.java
index 4b637b1..ca5dec2 100644 (file)
@@ -1,4 +1,4 @@
- /*******************************************************************************
+/*******************************************************************************
  * Copyright (c) 2000, 2004 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials 
  * are made available under the terms of the Common Public License v1.0
@@ -13,13 +13,12 @@ package net.sourceforge.phpdt.internal.ui.text.java;
 import net.sourceforge.phpdt.core.ICompilationUnit;
 import net.sourceforge.phpdt.core.dom.CompilationUnit;
 
-
 /**
  * Context information for quick fix and quick assist processors.
  * <p>
  * Note: this interface is not intended to be implemented.
  * </p>
- *
+ * 
  * @since 3.0
  */
 public interface IInvocationContext {
@@ -33,32 +32,38 @@ public interface IInvocationContext {
         * @return Returns the offset of the current selection
         */
        int getSelectionOffset();
-       
+
        /**
         * @return Returns the length of the current selection
         */
        int getSelectionLength();
-                       
+
        /**
-        * Returns an AST of the compilation unit, possibly only a partial AST focused on the selection
-        * offset (see {@link net.sourceforge.phpdt.core.dom.ASTParser#setFocalPosition(int)}).
-        * The returned AST is shared and therefore protected and cannot be modified.
-        * The client must check the AST API level and do nothing if they are given an AST
-        * they can't handle. (see {@link net.sourceforge.phpdt.core.dom.AST#apiLevel()}).
-        * @return Returns the root of the AST corresponding to the current compilation unit.
+        * Returns an AST of the compilation unit, possibly only a partial AST
+        * focused on the selection offset (see
+        * {@link net.sourceforge.phpdt.core.dom.ASTParser#setFocalPosition(int)}).
+        * The returned AST is shared and therefore protected and cannot be
+        * modified. The client must check the AST API level and do nothing if they
+        * are given an AST they can't handle. (see
+        * {@link net.sourceforge.phpdt.core.dom.AST#apiLevel()}).
+        * 
+        * @return Returns the root of the AST corresponding to the current
+        *         compilation unit.
         */
        CompilationUnit getASTRoot();
-       
+
        /**
-        * Convenience method to evaluate the AST node covering the current selection.
+        * Convenience method to evaluate the AST node covering the current
+        * selection.
+        * 
         * @return Returns the node that covers the location of the problem
         */
-//     ASTNode getCoveringNode();
-
+       // ASTNode getCoveringNode();
        /**
-        * Convenience method to evaluate the AST node that is covered by the current selection.
+        * Convenience method to evaluate the AST node that is covered by the
+        * current selection.
+        * 
         * @return Returns the node that is covered by the location of the problem
-        */     
-//     ASTNode getCoveredNode();
-
+        */
+       // ASTNode getCoveredNode();
 }