A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / SourceRefElementInfo.java
index 70a171e..b04175d 100644 (file)
@@ -12,38 +12,44 @@ package net.sourceforge.phpdt.internal.core;
 
 import net.sourceforge.phpdt.core.ISourceRange;
 
-
-/** 
- * Element info for ISourceReference elements. 
- */
-/* package */ class SourceRefElementInfo extends JavaElementInfo {
-       protected int fSourceRangeStart, fSourceRangeEnd;
-protected SourceRefElementInfo() {
-       setIsStructureKnown(true);
-}
 /**
- * @see net.sourceforge.phpdt.internal.compiler.env.ISourceType#getDeclarationSourceEnd()
- * @see net.sourceforge.phpdt.internal.compiler.env.ISourceMethod#getDeclarationSourceEnd()
- * @see net.sourceforge.phpdt.internal.compiler.env.ISourceField#getDeclarationSourceEnd()
+ * Element info for ISourceReference elements.
  */
-public int getDeclarationSourceEnd() {
-       return fSourceRangeEnd;
-}
-/**
- * @see net.sourceforge.phpdt.internal.compiler.env.ISourceType#getDeclarationSourceStart()
- * @see net.sourceforge.phpdt.internal.compiler.env.ISourceMethod#getDeclarationSourceStart()
- * @see net.sourceforge.phpdt.internal.compiler.env.ISourceField#getDeclarationSourceStart()
- */
-public int getDeclarationSourceStart() {
-       return fSourceRangeStart;
-}
-protected ISourceRange getSourceRange() {
-       return new SourceRange(fSourceRangeStart, fSourceRangeEnd - fSourceRangeStart + 1);
-}
-protected void setSourceRangeEnd(int end) {
-       fSourceRangeEnd = end;
-}
-protected void setSourceRangeStart(int start) {
-       fSourceRangeStart = start;
-}
+/* package */class SourceRefElementInfo extends JavaElementInfo {
+       protected int fSourceRangeStart, fSourceRangeEnd;
+
+       protected SourceRefElementInfo() {
+               setIsStructureKnown(true);
+       }
+
+       /**
+        * @see net.sourceforge.phpdt.internal.compiler.env.ISourceType#getDeclarationSourceEnd()
+        * @see net.sourceforge.phpdt.internal.compiler.env.ISourceMethod#getDeclarationSourceEnd()
+        * @see net.sourceforge.phpdt.internal.compiler.env.ISourceField#getDeclarationSourceEnd()
+        */
+       public int getDeclarationSourceEnd() {
+               return fSourceRangeEnd;
+       }
+
+       /**
+        * @see net.sourceforge.phpdt.internal.compiler.env.ISourceType#getDeclarationSourceStart()
+        * @see net.sourceforge.phpdt.internal.compiler.env.ISourceMethod#getDeclarationSourceStart()
+        * @see net.sourceforge.phpdt.internal.compiler.env.ISourceField#getDeclarationSourceStart()
+        */
+       public int getDeclarationSourceStart() {
+               return fSourceRangeStart;
+       }
+
+       protected ISourceRange getSourceRange() {
+               return new SourceRange(fSourceRangeStart, fSourceRangeEnd
+                               - fSourceRangeStart + 1);
+       }
+
+       protected void setSourceRangeEnd(int end) {
+               fSourceRangeEnd = end;
+       }
+
+       protected void setSourceRangeStart(int start) {
+               fSourceRangeStart = start;
+       }
 }