Browse Source

fixed a number of javadoc warnings.


git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@64 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
tags/rel_3_17_1_ga
chiba 20 years ago
parent
commit
e315747293

+ 1
- 0
build.xml View File

@@ -78,6 +78,7 @@ to ${build.classes.dir}.</echo>
version="true"
use="true"
Locale="en_US"
charset="iso-8859-1"
Public="true"
nohelp="true"
windowtitle="Javassist API">

+ 1
- 2
src/main/javassist/CtClass.java View File

@@ -321,7 +321,7 @@ public abstract class CtClass {
* @param oldName replaced class name
* @param newName substituted class name
*/
public void replaceClassName(String oldname, String newname) {
public void replaceClassName(String oldName, String newName) {
checkModify();
}

@@ -538,7 +538,6 @@ public abstract class CtClass {
* For details of the method descriptor, see the JVM specification
* or <code>javassist.bytecode.Descriptor</code>.
*
* @param name method name
* @param desc method descriptor
* @see javassist.bytecode.Descriptor
*/

+ 0
- 2
src/main/javassist/CtNewConstructor.java View File

@@ -79,8 +79,6 @@ public class CtNewConstructor {
/**
* Creates a public constructor.
*
* @param returnType the type of the returned value.
* @param mname the method name.
* @param parameters a list of the parameter types.
* @param exceptions a list of the exception types.
* @param body the source text of the constructor body.

+ 2
- 2
src/main/javassist/CtNewMethod.java View File

@@ -409,8 +409,8 @@ public class CtNewMethod {
*
* @param returnType the type of the returned value.
* @param mname the method name.
* @param parameters a list of the parameter types.
* @param exceptions a list of the exception types.
* @param parameterTypes a list of the parameter types.
* @param exceptionTypes a list of the exception types.
* @param body the method body
* (must not be a static method).
* @param constParam the constant parameter

+ 1
- 1
src/main/javassist/Dump.java View File

@@ -36,7 +36,7 @@ public class Dump {
/**
* Main method.
*
* @param args[0] class file name.
* @param args <code>args[0]</code> is the class file name.
*/
public static void main(String[] args) throws Exception {
if (args.length != 1) {

+ 12
- 4
src/main/javassist/Loader.java View File

@@ -207,8 +207,12 @@ public class Loader extends ClassLoader {
*
* <p>This method calls <code>run()</code>.
*
* @param args[0] class name to be loaded.
* @param args[1-n] parameters passed to <code>main()</code>.
* @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
* to the target <code>main()</code>.
* </ul>
*
* @see javassist.Loader#run(String[])
*/
@@ -220,8 +224,12 @@ public class Loader extends ClassLoader {
/**
* Loads a class and calls <code>main()</code> in that class.
*
* @param args[0] the name of the loaded class.
* @param args[1-n] parameters passed to <code>main()</code>.
* @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
* to the target <code>main()</code>.
* </ul>
*/
public void run(String[] args) throws Throwable {
int n = args.length - 1;

+ 1
- 1
src/main/javassist/bytecode/CodeIterator.java View File

@@ -496,7 +496,7 @@ public class CodeIterator implements Opcode {
/**
* Appends a gap at the end of the bytecode sequence.
*
* @param length gap length
* @param gapLength gap length
*/
public void appendGap(int gapLength) {
byte[] code = bytecode;

+ 3
- 3
src/main/javassist/bytecode/ConstPool.java View File

@@ -684,7 +684,7 @@ public final class ConstPool {
* Adds a new <code>CONSTANT_Fieldref_info</code> structure.
*
* @param classInfo <code>class_index</code>
* @param nameandtypeinfo <code>name_and_type_index</code>.
* @param nameAndTypeInfo <code>name_and_type_index</code>.
* @return the index of the added entry.
*/
public int addFieldrefInfo(int classInfo, int nameAndTypeInfo) {
@@ -713,7 +713,7 @@ public final class ConstPool {
* Adds a new <code>CONSTANT_Methodref_info</code> structure.
*
* @param classInfo <code>class_index</code>
* @param nameandtypeinfo <code>name_and_type_index</code>.
* @param nameAndTypeInfo <code>name_and_type_index</code>.
* @return the index of the added entry.
*/
public int addMethodrefInfo(int classInfo, int nameAndTypeInfo) {
@@ -745,7 +745,7 @@ public final class ConstPool {
* structure.
*
* @param classInfo <code>class_index</code>
* @param nameandtypeinfo <code>name_and_type_index</code>.
* @param nameAndTypeInfo <code>name_and_type_index</code>.
* @return the index of the added entry.
*/
public int addInterfaceMethodrefInfo(int classInfo,

+ 0
- 1
src/main/javassist/bytecode/DeprecatedAttribute.java View File

@@ -38,7 +38,6 @@ public class DeprecatedAttribute extends AttributeInfo {
* Constructs a Deprecated attribute.
*
* @param cp a constant pool table.
* @param filename the name of the source file.
*/
public DeprecatedAttribute(ConstPool cp) {
super(cp, tag, new byte[0]);

+ 0
- 1
src/main/javassist/bytecode/SyntheticAttribute.java View File

@@ -38,7 +38,6 @@ public class SyntheticAttribute extends AttributeInfo {
* Constructs a Synthetic attribute.
*
* @param cp a constant pool table.
* @param filename the name of the source file.
*/
public SyntheticAttribute(ConstPool cp) {
super(cp, tag, new byte[0]);

+ 7
- 3
src/main/javassist/reflect/Loader.java View File

@@ -64,7 +64,7 @@ import javassist.ClassPool;
*
* <p>This program is run as follows:
*
* <ul><pre>% java Main2 arg1, ...</code>
* <ul><pre>% java Main2 arg1, ...</pre></ul>
*
* <p>The difference from the former one is that the class <code>Main</code>
* is loaded by <code>javassist.reflect.Loader</code> whereas the class
@@ -113,8 +113,12 @@ public class Loader extends javassist.Loader {
* Loads a class with an instance of <code>Loader</code>
* and calls <code>main()</code> in that class.
*
* @param args[0] class name to be loaded.
* @param args[1-n] parameters passed to <code>main()</code>.
* @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
* to the target <code>main()</code>.
* </ul>
*/
public static void main(String[] args) throws Throwable {
Loader cl = new Loader();

+ 1
- 1
src/main/javassist/rmi/AppletServer.java View File

@@ -99,7 +99,7 @@ public class AppletServer extends Webserver {
* the proxy class and call a method on the exported object.
*
* @param name the name used for looking the object up.
* @param object the exported object.
* @param obj the exported object.
* @return the object identifier
*
* @see javassist.rmi.ObjectImporter#lookupObject(String)

Loading…
Cancel
Save