Commit b0162dbe authored by Eric Bruneton's avatar Eric Bruneton

Fix the remaining Javadoc errors.

parent 317ff960
Pipeline #342 passed with stage
in 6 minutes and 6 seconds
......@@ -165,12 +165,24 @@ public abstract class Remapper {
return w.toString();
}
/** @deprecated use {@link #createSignatureRemapper} instead. */
/**
* Creates a new remapper for signatures.
*
* @param v the SignatureVisitor the remapper must delegate to.
* @return the newly created remapper.
* @deprecated use {@link #createSignatureRemapper} instead.
*/
@Deprecated
protected SignatureVisitor createRemappingSignatureAdapter(SignatureVisitor v) {
return new SignatureRemapper(v, this);
}
/**
* Creates a new remapper for signatures.
*
* @param v the SignatureVisitor the remapper must delegate to.
* @return the newly created remapper.
*/
protected SignatureVisitor createSignatureRemapper(SignatureVisitor v) {
return createRemappingSignatureAdapter(v);
}
......
......@@ -77,7 +77,7 @@ import org.junit.runners.Parameterized.Parameter;
* public class MyParameterizedTest extends AsmTest {
*
* @Parameters(name = NAME)
* public static Collection<Object[]> data() {
* public static Collection&lt;Object[]&gt; data() {
* return data(Api.ASM5, Api.ASM6);
* }
*
......@@ -140,12 +140,12 @@ public abstract class AsmTest {
this.name = name;
}
/** Returns the fully qualified name of this class. */
/** @return the fully qualified name of this class. */
public String getName() {
return name;
}
/** Returns the internal name of this class. */
/** @return the internal name of this class. */
public String getInternalName() {
return name.endsWith("module-info") ? "module-info" : name.replace('.', '/');
}
......@@ -184,7 +184,7 @@ public abstract class AsmTest {
return false;
}
/** Returns the content of this class. */
/** @return the content of this class. */
public byte[] getBytes() {
InputStream inputStream = null;
try {
......
......@@ -56,6 +56,8 @@ public class ModuleExportNode {
* Constructs a new {@link ModuleExportNode}.
*
* @param packaze the internal name of the exported package.
* @param access the package access flags, one or more of {@code ACC_SYNTHETIC} and {@code
* ACC_MANDATED}.
* @param modules a list of modules that can access this exported package, specified with fully
* qualified names (using dots).
*/
......
......@@ -53,6 +53,8 @@ public class ModuleOpenNode {
* Constructs a new {@link ModuleOpenNode}.
*
* @param packaze the parameter's name.
* @param access the module access flags, one or more of {@code ACC_SYNTHETIC} and {@code
* ACC_MANDATED}.
* @param modules a list of modules that can access to this open package.
*/
public ModuleOpenNode(final String packaze, final int access, final List<String> modules) {
......
......@@ -45,8 +45,6 @@ import org.objectweb.asm.TypePath;
*
* <p>The trace printed when visiting the <tt>Hello</tt> class is the following:
*
* <p>
*
* <blockquote>
*
* <pre>
......@@ -67,8 +65,6 @@ import org.objectweb.asm.TypePath;
*
* where <tt>Hello</tt> is defined by:
*
* <p>
*
* <blockquote>
*
* <pre>
......
......@@ -74,6 +74,7 @@ import org.xml.sax.helpers.XMLReaderFactory;
* <blockquote>
*
* <table border="1" cellspacing="0" cellpadding="3">
* <caption>Possible TransformerFactory values</caption>
* <tr>
* <td>jd.xslt</td>
* <td>jd.xml.xslt.trax.TransformerFactoryImpl</td>
......
......@@ -63,6 +63,7 @@ public final class SAXCodeAdapter extends MethodVisitor {
* Constructs a new {@link SAXCodeAdapter SAXCodeAdapter} object.
*
* @param sa content handler that will be used to send SAX 2.0 events.
* @param access the method access flags.
*/
public SAXCodeAdapter(final SAXAdapter sa, final int access) {
super(Opcodes.ASM6);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment