Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2016-12-07 18:38:33 +0000
committerAlexander Kurtakov2016-12-07 18:38:33 +0000
commit8158ba4a5aec0598466f83dbaddc747f04f086ef (patch)
tree3eb3f33d8232ac79813290c921f29ef3a4e1ab56
parent21a9192e647deaec2fb78827a4836d85a0fa6d38 (diff)
downloadorg.eclipse.dltk.core-8158ba4a5aec0598466f83dbaddc747f04f086ef.tar.gz
org.eclipse.dltk.core-8158ba4a5aec0598466f83dbaddc747f04f086ef.tar.xz
org.eclipse.dltk.core-8158ba4a5aec0598466f83dbaddc747f04f086ef.zip
o.e.dltk.core: Javadocs.
Remove useless non-javadoc or make them real javadoc when it's worth it. Change-Id: I979b23d0d7b21bae09a6bfb25333b268180b3912 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/AbstractRuntimeBuildpathEntry.java83
-rw-r--r--core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/DefaultProjectBuildpathEntry.java22
2 files changed, 28 insertions, 77 deletions
diff --git a/core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/AbstractRuntimeBuildpathEntry.java b/core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/AbstractRuntimeBuildpathEntry.java
index 051e48e41..a6ee70e93 100644
--- a/core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/AbstractRuntimeBuildpathEntry.java
+++ b/core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/AbstractRuntimeBuildpathEntry.java
@@ -30,7 +30,7 @@ import org.w3c.dom.Element;
* <p>
* Clients implementing runtime buildpath entries must subclass this class.
* </p>
- *
+ *
*/
public abstract class AbstractRuntimeBuildpathEntry extends PlatformObject
implements IRuntimeBuildpathEntry2 {
@@ -41,9 +41,7 @@ public abstract class AbstractRuntimeBuildpathEntry extends PlatformObject
*/
private IScriptProject fProject;
- /*
- * (non-Javadoc)
- *
+ /**
* Default implementation returns <code>null</code>. Subclasses should
* override if required.
*/
@@ -52,28 +50,23 @@ public abstract class AbstractRuntimeBuildpathEntry extends PlatformObject
return null;
}
- /*
- * (non-Javadoc)
- *
+ /**
* Default implementation returns <code>false</code>. Subclasses should
* override if required.
- *
- * @see
- * org.eclipse.dltk.internal.launching.IRuntimeBuildpathEntry2#isComposite()
+ *
+ * @see org.eclipse.dltk.internal.launching.IRuntimeBuildpathEntry2#isComposite()
*/
@Override
public boolean isComposite() {
return false;
}
- /*
- * (non-Javadoc)
- *
+ /**
* Default implementation returns an empty collection. Subclasses should
* override if required.
- *
- * @seeorg.eclipse.dltk.internal.launching.IRuntimeBuildpathEntry2#
- * getRuntimeBuildpathEntries()
+ *
+ * @see org.eclipse.dltk.internal.launching.IRuntimeBuildpathEntry2#
+ * getRuntimeBuildpathEntries()
*/
public IRuntimeBuildpathEntry[] getRuntimeBuildpathEntries()
throws CoreException {
@@ -82,7 +75,7 @@ public abstract class AbstractRuntimeBuildpathEntry extends PlatformObject
/**
* Throws an exception with the given message and underlying exception.
- *
+ *
* @param message
* error message
* @param exception
@@ -99,12 +92,10 @@ public abstract class AbstractRuntimeBuildpathEntry extends PlatformObject
}
/*
- * (non-Javadoc)
- *
* Default implementation generates a string containing an XML document.
* Subclasses should override <code>buildMemento</code> to specify the
* contents of the required <code>memento</code> node.
- *
+ *
* @see org.eclipse.dltk.launching.IRuntimeBuildpathEntry#getMemento()
*/
@Override
@@ -122,7 +113,7 @@ public abstract class AbstractRuntimeBuildpathEntry extends PlatformObject
/**
* Constructs a memento for this buildpath entry in the given document and
* element. The memento element has already been appended to the document.
- *
+ *
* @param document
* XML document
* @param memento
@@ -133,12 +124,10 @@ public abstract class AbstractRuntimeBuildpathEntry extends PlatformObject
protected abstract void buildMemento(Document document, Element memento)
throws CoreException;
- /*
- * (non-Javadoc)
- *
+ /**
* Default implementation returns <code>null</code>. Subclasses should
* override if required.
- *
+ *
* @see org.eclipse.dltk.launching.IRuntimeBuildpathEntry#getPath()
*/
@Override
@@ -146,12 +135,10 @@ public abstract class AbstractRuntimeBuildpathEntry extends PlatformObject
return null;
}
- /*
- * (non-Javadoc)
- *
+ /**
* Default implementation returns <code>null</code>. Subclasses should
* override if required.
- *
+ *
* @see org.eclipse.dltk.launching.IRuntimeBuildpathEntry#getResource()
*/
@Override
@@ -159,35 +146,20 @@ public abstract class AbstractRuntimeBuildpathEntry extends PlatformObject
return null;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.dltk.launching.IRuntimeBuildpathEntry#getBuildpathProperty()
- */
@Override
public int getBuildpathProperty() {
return buildpathProperty;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.dltk.launching.IRuntimeBuildpathEntry#setBuildpathProperty
- * (int)
- */
@Override
public void setBuildpathProperty(int property) {
buildpathProperty = property;
}
- /*
- * (non-Javadoc)
- *
+ /**
* Default implementation returns <code>null</code>. Subclasses should
* override if required.
- *
+ *
* @see org.eclipse.dltk.launching.IRuntimeBuildpathEntry#getLocation()
*/
@Override
@@ -195,33 +167,22 @@ public abstract class AbstractRuntimeBuildpathEntry extends PlatformObject
return null;
}
- /*
- * @see org.eclipse.dltk.launching.IRuntimeBuildpathEntry#getLocationURI()
- */
@Override
public URI getLocationURI() {
return null;
}
- /*
- * (non-Javadoc)
- *
+ /**
* Default implementation returns <code>null</code>. Subclasses should
* override if required.
- *
- * @see
- * org.eclipse.dltk.launching.IRuntimeBuildpathEntry#getBuildpathEntry()
+ *
+ * @see org.eclipse.dltk.launching.IRuntimeBuildpathEntry#getBuildpathEntry()
*/
@Override
public IBuildpathEntry getBuildpathEntry() {
return null;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.dltk.launching.IRuntimeBuildpathEntry#getScriptProject()
- */
@Override
public IScriptProject getScriptProject() {
return fProject;
@@ -229,7 +190,7 @@ public abstract class AbstractRuntimeBuildpathEntry extends PlatformObject
/**
* Sets the Script project associated with this entry.
- *
+ *
* @param scriptProject
*/
protected void setScriptProject(IScriptProject sProject) {
diff --git a/core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/DefaultProjectBuildpathEntry.java b/core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/DefaultProjectBuildpathEntry.java
index 38ed9ad38..ecf70ae64 100644
--- a/core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/DefaultProjectBuildpathEntry.java
+++ b/core/plugins/org.eclipse.dltk.launching/src/org/eclipse/dltk/internal/launching/DefaultProjectBuildpathEntry.java
@@ -54,7 +54,7 @@ public class DefaultProjectBuildpathEntry
/**
* Constructs a new buildpath entry for the given project.
- *
+ *
* @param project
* Script project
*/
@@ -155,7 +155,7 @@ public class DefaultProjectBuildpathEntry
/**
* Returns the transitive closure of buildpath entries for the given project
* entry.
- *
+ *
* @param projectEntry
* project buildpath entry
* @param expandedPath
@@ -321,11 +321,6 @@ public class DefaultProjectBuildpathEntry
getScriptProject().getElementName());
}
- /*
- * (non-Javadoc)
- *
- * @see java.lang.Object#equals(java.lang.Object)
- */
@Override
public boolean equals(Object obj) {
if (obj instanceof DefaultProjectBuildpathEntry) {
@@ -336,11 +331,6 @@ public class DefaultProjectBuildpathEntry
return false;
}
- /*
- * (non-Javadoc)
- *
- * @see java.lang.Object#hashCode()
- */
@Override
public int hashCode() {
return getScriptProject().hashCode();
@@ -349,9 +339,9 @@ public class DefaultProjectBuildpathEntry
/**
* Sets whether the runtime buildpath computaion should only include
* exported entries in referenced projects.
- *
+ *
* @param exportedOnly
- *
+ *
*/
public void setExportedEntriesOnly(boolean exportedOnly) {
fExportedEntriesOnly = exportedOnly;
@@ -360,9 +350,9 @@ public class DefaultProjectBuildpathEntry
/**
* Returns whether the buildpath computation only includes exported entries
* in referenced projects.
- *
+ *
* @return
- *
+ *
*/
public boolean isExportedEntriesOnly() {
return fExportedEntriesOnly;

Back to the top