Browse Source

fixed javadoc bugs

tags/rel_3_19_0_ga
chibash 9 years ago
parent
commit
c7daae52ad

BIN
javassist.jar View File


+ 5
- 8
src/main/javassist/Loader.java View File

@@ -245,11 +245,9 @@ public class Loader extends ClassLoader {
* <p>This method calls <code>run()</code>.
*
* @param args command line parameters.
* <ul>
* {@code args[0]} is the class name to be loaded.
* <br>{@code args[1..n]} are parameters passed
* <br>&nbsp;&nbsp;{@code args[0]} is the class name to be loaded.
* <br>&nbsp;&nbsp;{@code args[1..n]} are parameters passed
* to the target {@code main()}.
* </ul>
*
* @see javassist.Loader#run(String[])
*/
@@ -262,11 +260,10 @@ public class Loader extends ClassLoader {
* Loads a class and calls <code>main()</code> in that class.
*
* @param args command line parameters.
* <ul>
* {@code args[0]} is the class name to be loaded.
* <br>{@code args[1..n]} are parameters passed
*
* <br>&nbsp;&nbsp;{@code args[0]} is the class name to be loaded.
* <br>&nbsp;&nbsp;{@code args[1..n]} are parameters passed
* to the target {@code main()}.
* </ul>
*/
public void run(String[] args) throws Throwable {
int n = args.length - 1;

+ 2
- 2
src/main/javassist/bytecode/analysis/Analyzer.java View File

@@ -59,13 +59,13 @@ import javassist.bytecode.Opcode;
* // 5: new #18; //class java/lang/Double
* // 8: dup
* // 9: dconst_0
* // 10: invokespecial #44; //Method java/lang/Double."<init>":(D)V
* // 10: invokespecial #44; //Method java/lang/Double."&lt;init&gt;":(D)V
* // 13: astore_2
* // 14: goto 26
* // 17: new #16; //class java/lang/Long
* // 20: dup
* // 21: lconst_1
* // 22: invokespecial #47; //Method java/lang/Long."<init>":(J)V
* // 22: invokespecial #47; //Method java/lang/Long."&lt;init&gt;":(J)V
* // 25: astore_2
* // 26: aload_2
* // 27: areturn

+ 6
- 6
src/main/javassist/bytecode/analysis/MultiType.java View File

@@ -22,19 +22,19 @@ import java.util.Map;
import javassist.CtClass;

/**
* MultiType represents an unresolved type. Whenever two <literal>Type</literal>
* MultiType represents an unresolved type. Whenever two {@code Type}
* instances are merged, if they share more than one super type (either an
* interface or a superclass), then a <literal>MultiType</literal> is used to
* represent the possible super types. The goal of a <literal>MultiType</literal>
* interface or a superclass), then a {@code MultiType} is used to
* represent the possible super types. The goal of a {@code MultiType}
* is to reduce the set of possible types down to a single resolved type. This
* is done by eliminating non-assignable types from the typeset when the
* <literal>MultiType</literal> is passed as an argument to
* {@code MultiType} is passed as an argument to
* {@link Type#isAssignableFrom(Type)}, as well as removing non-intersecting
* types during a merge.
*
* Note: Currently the <litera>MultiType</literal> instance is reused as much
* Note: Currently the {@code MultiType} instance is reused as much
* as possible so that updates are visible from all frames. In addition, all
* <literal>MultiType</literal> merge paths are also updated. This is somewhat
* {@code MultiType} merge paths are also updated. This is somewhat
* hackish, but it appears to handle most scenarios.
*
* @author Jason T. Greene

+ 1
- 1
src/main/javassist/tools/reflect/ClassMetaobject.java View File

@@ -337,7 +337,7 @@ public class ClassMetaobject implements Serializable {
* original name.
*
* <p>This method is useful, in conjuction with
* {@link ClassMetaobject#getMethod()}, to obtain a quick reference
* {@link ClassMetaobject#getMethod(int)}, to obtain a quick reference
* to the original method in the reflected class (i.e. not the proxy
* method), using the original name of the method.
*

+ 2
- 4
src/main/javassist/tools/reflect/Loader.java View File

@@ -115,11 +115,9 @@ public class Loader extends javassist.Loader {
* and calls <code>main()</code> in that class.
*
* @param args command line parameters.
* <ul>
* <code>args[0]</code> is the class name to be loaded.
* <br><code>args[1..n]</code> are parameters passed
* <br>&nbsp;&nbsp;<code>args[0]</code> is the class name to be loaded.
* <br>&nbsp;&nbsp;<code>args[1..n]</code> are parameters passed
* to the target <code>main()</code>.
* </ul>
*/
public static void main(String[] args) throws Throwable {
Loader cl = new Loader();

Loading…
Cancel
Save