Bug 511593 - Issue resolving split packages

Add javadoc for the getSubstitutionWires method

Change-Id: I10f81b743365eda2a38b8a08e4e8547612a90e70
Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleWiring.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleWiring.java
index 201a26b..dd8a8dd 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleWiring.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleWiring.java
@@ -461,6 +461,17 @@
 	}
 
 	/**
+	 * Returns the subset of {@link Wiring#getRequiredResourceWires(String) require wires}
+	 * that provide wires to {@link Capability capabilities} which substitute capabilities
+	 * of this wiring. For example, when a {@link PackageNamespace package} name is both
+	 * provided and required by the same resource. If the package requirement is resolved
+	 * to a capability hosted by a different wiring then the package capability is
+	 * considered to be substituted.
+	 *
+	 * @see #getSubstitutedNames()
+	 * @return A collection containing a snapshot of the substitution {@link Wire}s
+	 * for the {@link Requirement requirements} of this wiring, or an empty list
+	 * if this wiring has no substitution wires.
 	 * @since 3.12
 	 */
 	@Override