sboag 00/12/17 16:07:54
Modified: java/src/org/apache/xml/utils/synthetic Class.java
SynthesisException.java TestDriver.java
java/src/org/apache/xml/utils/synthetic/reflection
Constructor.java EntryPoint.java Field.java
Member.java Method.java
Log:
Removed the NEEDSDOC from these. Joe can finish these sometime
at his convenience.
Revision Changes Path
1.3 +70 -70
xml-xalan/java/src/org/apache/xml/utils/synthetic/Class.java
Index: Class.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/utils/synthetic/Class.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Class.java 2000/12/14 16:06:13 1.2
+++ Class.java 2000/12/18 00:07:52 1.3
@@ -207,19 +207,19 @@
* */
private Constructor[] declaredconstructors = new Constructor[0];
- /** NEEDSDOC Field allmethods */
+ /** Field allmethods */
private Method[] allmethods = new Method[0];
- /** NEEDSDOC Field declaredmethods */
+ /** Field declaredmethods */
private Method[] declaredmethods = new Method[0];
- /** NEEDSDOC Field allfields */
+ /** Field allfields */
private Field[] allfields = new Field[0];
- /** NEEDSDOC Field declaredfields */
+ /** Field declaredfields */
private Field[] declaredfields = new Field[0];
- /** NEEDSDOC Field innerclasses */
+ /** Field innerclasses */
private Class[] innerclasses = new Class[0];
/**
@@ -255,7 +255,7 @@
* Creation date: (12-25-99 12:15:23 PM)
* @param name java.lang.String
*
- * NEEDSDOC @param fullname
+ * @param fullname
*/
Class(String fullname)
{
@@ -307,9 +307,9 @@
* inner clases. As with forName, if this can not be resolved
* we throw an exception.
*
- * NEEDSDOC @param classname
+ * @param classname
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*
* @throws ClassNotFoundException
*/
@@ -538,7 +538,7 @@
* marginally useful, which is no doubt one of the reasons folks
* have declined to implement it.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public Class[] getClasses()
{
@@ -584,7 +584,7 @@
*
* @see Array
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public Class getComponentType()
{
@@ -605,9 +605,9 @@
* exactly the same formal parameter types.
*
*
- * NEEDSDOC @param parameterTypes
+ * @param parameterTypes
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws NoSuchMethodException
* if a matching method is not found.
* @throws SecurityException
@@ -642,7 +642,7 @@
* constructors.
*
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws SecurityException
* if access to the information is denied.
* @see
@@ -680,7 +680,7 @@
* this Class object represents a primitive type.
*
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws SecurityException
* if access to the information is denied.
*/
@@ -711,7 +711,7 @@
* interface represented by this Class object
*
*
- * NEEDSDOC @param newclass
+ * @param newclass
* @throws SynthesisException
* if the class has been reified.
* @see
@@ -740,9 +740,9 @@
* parameter types, in declared order.
*
*
- * NEEDSDOC @param parameterTypes
+ * @param parameterTypes
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws NoSuchMethodException
* if a matching method is not found.
* @throws SecurityException
@@ -761,7 +761,7 @@
* interface represented by this Class object
*
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws SynthesisException
* if the class has been reified.
* @see
@@ -798,7 +798,7 @@
*
* @param newifce org.apache.xml.utils.synthetic.Class representing the
interface we want to add.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @exception org.apache.xml.utils.synthetic.SynthesisException if the
Class isn't an interface
* @see setSuperClass
* @see declareConstructor
@@ -845,7 +845,7 @@
* See The Java Language Specification, section 8.2.
*
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws SecurityException
* if access to the information is denied.
* @see
@@ -878,9 +878,9 @@
* field.
*
*
- * NEEDSDOC @param name
+ * @param name
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws NoSuchFieldException
* if a field with the specified name is not found.
* @throws SecurityException
@@ -899,9 +899,9 @@
* interface represented by this Class object
*
*
- * NEEDSDOC @param name
+ * @param name
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws SynthesisException
* if the class has been reified.
* @see
@@ -942,7 +942,7 @@
* Specification, sections 8.2 and 8.3.
*
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws SecurityException
* if access to the information is denied.
* @see
@@ -977,10 +977,10 @@
* types, in declared order.
*
*
- * NEEDSDOC @param name
- * NEEDSDOC @param parameterTypes
+ * @param name
+ * @param parameterTypes
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws NoSuchMethodException
* if a matching method is not found.
* @throws SecurityException
@@ -999,9 +999,9 @@
* interface represented by this Class object
*
*
- * NEEDSDOC @param name
+ * @param name
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws SynthesisException
* if the class has been reified.
* @see
@@ -1043,7 +1043,7 @@
* See The Java Language Specification, section 8.2.
*
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws SecurityException
* if access to the information is denied.
* @see
@@ -1077,7 +1077,7 @@
* class or interface is not a member of any other
* class.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public Class getDeclaringClass()
{
@@ -1098,7 +1098,7 @@
/**
* Declare that this class is an inner class of another.
*
- * NEEDSDOC @param newclass
+ * @param newclass
*
* @throws SynthesisException
*/
@@ -1196,9 +1196,9 @@
* and 8.3.
*
*
- * NEEDSDOC @param name
+ * @param name
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws NoSuchFieldException
* if a field with the specified name is not
* found.
@@ -1237,7 +1237,7 @@
* and 8.3.
*
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws SecurityException
* if access to the information is denied.
* @see Field
@@ -1310,7 +1310,7 @@
* interface represented by this Class object
*
*
- * NEEDSDOC @param newclass
+ * @param newclass
* @throws SynthesisException
* if the class has been reified.
* @see
@@ -1350,10 +1350,10 @@
* and 8.4.
*
*
- * NEEDSDOC @param name
- * NEEDSDOC @param parameterTypes
+ * @param name
+ * @param parameterTypes
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws NoSuchMethodException
* if a matching method is not found.
* @throws SecurityException
@@ -1380,7 +1380,7 @@
* and 8.4.
*
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws SecurityException
* if access to the information is denied.
* @see Method
@@ -1417,7 +1417,7 @@
* See Also:
* java.lang.reflect.Modifier
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public int getModifiers()
{
@@ -1438,7 +1438,7 @@
* See Also:
* java.lang.reflect.Modifier
*
- * NEEDSDOC @param modifiers
+ * @param modifiers
*
* @throws SynthesisException
*/
@@ -1615,7 +1615,7 @@
* Creation date: (12-25-99 12:26:01 PM)
* @param java.lang.class realclass nonsynthetic Class object to proxy
*
- * NEEDSDOC @param realclass
+ * @param realclass
*
* @throws SynthesisException
*/
@@ -1649,7 +1649,7 @@
* Object is equivalent to Null.
* Creation date: (12-25-99 12:26:01 PM)
*
- * NEEDSDOC @param superclass
+ * @param superclass
* @return org.apache.xml.utils.synthetic.Class
*
* @throws SynthesisException
@@ -1667,7 +1667,7 @@
* Set the superclass for this synthetic class.
* Creation date: (12-25-99 12:26:01 PM)
*
- * NEEDSDOC @param superclass
+ * @param superclass
* @return org.apache.xml.utils.synthetic.Class
*
* @throws ClassNotFoundException
@@ -1741,7 +1741,7 @@
/**
* Get the signers of this class.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public Object[] getSigners()
{
@@ -1781,7 +1781,7 @@
* If this Class object represents an array type, returns
* true, otherwise returns false.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public boolean isArray()
{
@@ -1806,9 +1806,9 @@
* Specification, sections 5.1.1 and 5.1.4 , for details.
*
*
- * NEEDSDOC @param cls
+ * @param cls
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws NullPointerException if the specified Class parameter is null.
*/
public boolean isAssignableFrom(Class cls)
@@ -1838,9 +1838,9 @@
* Specification, sections 5.1.1 and 5.1.4 , for details.
*
*
- * NEEDSDOC @param cls
+ * @param cls
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws NullPointerException if the specified Class parameter is null.
*/
public boolean isAssignableFrom(java.lang.Class cls)
@@ -1876,7 +1876,7 @@
*
* @param obj The object to check
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public boolean isInstance(Object obj)
{
@@ -1910,7 +1910,7 @@
* true if this object represents an interface;
* false otherwise.
*
- * NEEDSDOC @param isInterface
+ * @param isInterface
*
* @throws SynthesisException
*/
@@ -1939,7 +1939,7 @@
* only Class objects for which this method returns
* true.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public boolean isPrimitive()
{
@@ -1995,8 +1995,8 @@
/**
* Convenience for writing to, eg, System.out
*
- * NEEDSDOC @param out
- * NEEDSDOC @param depth
+ * @param out
+ * @param depth
*/
public void toSource(java.io.OutputStream out, int depth)
{
@@ -2013,8 +2013,8 @@
* object represents a primitive type, returns the
* name of the primitive type.
*
- * NEEDSDOC @param out
- * NEEDSDOC @param depth
+ * @param out
+ * @param depth
*/
public void toSource(java.io.PrintWriter out, int depth)
{
@@ -2151,12 +2151,12 @@
}
/**
- * NEEDSDOC Method tabset
+ * Method tabset
*
*
- * NEEDSDOC @param depth
+ * @param depth
*
- * NEEDSDOC (tabset) @return
+ * (tabset) @return
*/
private String tabset(int depth)
{
@@ -2173,7 +2173,7 @@
// Ignores any keywords we don't recognize
- /** NEEDSDOC Field val */
+ /** Field val */
static final int[] val = { Modifier.ABSTRACT, Modifier.FINAL,
Modifier.INTERFACE, Modifier.NATIVE,
Modifier.PRIVATE, Modifier.PROTECTED,
@@ -2181,18 +2181,18 @@
Modifier.SYNCHRONIZED, Modifier.TRANSIENT,
Modifier.VOLATILE };
- /** NEEDSDOC Field kwd */
+ /** Field kwd */
static final String[] kwd = { "abstract", "final", "interface", "native",
"private", "protected", "public", "static",
"synchronized", "transient", "volatile" };
/**
- * NEEDSDOC Method modifierFromString
+ * Method modifierFromString
*
*
- * NEEDSDOC @param t
+ * @param t
*
- * NEEDSDOC (modifierFromString) @return
+ * (modifierFromString) @return
*/
static public int modifierFromString(String t)
{
@@ -2207,12 +2207,12 @@
}
/**
- * NEEDSDOC Method modifiersFromString
+ * Method modifiersFromString
*
*
- * NEEDSDOC @param s
+ * @param s
*
- * NEEDSDOC (modifiersFromString) @return
+ * (modifiersFromString) @return
*/
static public int modifiersFromString(String s)
{
1.2 +13 -13
xml-xalan/java/src/org/apache/xml/utils/synthetic/SynthesisException.java
Index: SynthesisException.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/utils/synthetic/SynthesisException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SynthesisException.java 2000/11/23 04:58:52 1.1
+++ SynthesisException.java 2000/12/18 00:07:52 1.2
@@ -58,32 +58,32 @@
/**
* <meta name="usage" content="internal"/>
- * NEEDSDOC Class SynthesisException <needs-comment/>
+ * Class SynthesisException <needs-comment/>
*/
public class SynthesisException extends Exception
{
- /** NEEDSDOC Field code */
+ /** Field code */
int code;
// Manefest constants
- /** NEEDSDOC Field SYNTAX */
+ /** Field SYNTAX */
public static final int SYNTAX = 0;
- /** NEEDSDOC Field UNSUPPORTED */
+ /** Field UNSUPPORTED */
public static final int UNSUPPORTED = 1;
- /** NEEDSDOC Field REIFIED */
+ /** Field REIFIED */
public static final int REIFIED = 2;
- /** NEEDSDOC Field UNREIFIED */
+ /** Field UNREIFIED */
public static final int UNREIFIED = 3;
- /** NEEDSDOC Field WRONG_OWNER */
+ /** Field WRONG_OWNER */
public static final int WRONG_OWNER = 4;
- /** NEEDSDOC Field errToString */
+ /** Field errToString */
public static final String[] errToString = {
"(Syntax error; specific message should be passed in)",
"Feature not yet supported",
@@ -95,7 +95,7 @@
* Constructor SynthesisException
*
*
- * NEEDSDOC @param code
+ * @param code
*/
public SynthesisException(int code)
{
@@ -109,8 +109,8 @@
* Constructor SynthesisException
*
*
- * NEEDSDOC @param code
- * NEEDSDOC @param msg
+ * @param code
+ * @param msg
*/
public SynthesisException(int code, String msg)
{
@@ -121,10 +121,10 @@
}
/**
- * NEEDSDOC Method getCode
+ * Method getCode
*
*
- * NEEDSDOC (getCode) @return
+ * @return
*/
int getCode()
{
1.2 +13 -13
xml-xalan/java/src/org/apache/xml/utils/synthetic/TestDriver.java
Index: TestDriver.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/utils/synthetic/TestDriver.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestDriver.java 2000/11/23 04:58:52 1.1
+++ TestDriver.java 2000/12/18 00:07:52 1.2
@@ -68,22 +68,22 @@
/**
* <meta name="usage" content="internal"/>
- * NEEDSDOC Class TestDriver <needs-comment/>
+ * Class TestDriver <needs-comment/>
*/
public class TestDriver
{
- /** NEEDSDOC Field sampleField */
+ /** Field sampleField */
public static int sampleField = 32;
- /** NEEDSDOC Field inTest */
+ /** Field inTest */
private boolean inTest = false;
/**
- * NEEDSDOC Method main
+ * Method main
*
*
- * NEEDSDOC @param args
+ * @param args
*/
public static void main(String[] args)
{
@@ -143,10 +143,10 @@
}
/**
- * NEEDSDOC Method dumpClass
+ * Method dumpClass
*
*
- * NEEDSDOC @param C
+ * @param C
*/
public static void dumpClass(Class C)
{
@@ -160,7 +160,7 @@
}
/**
- * NEEDSDOC Method quickcheck
+ * Method quickcheck
*
*/
public void quickcheck()
@@ -173,16 +173,16 @@
/**
* <meta name="usage" content="internal"/>
- * NEEDSDOC Class Inner <needs-comment/>
+ * Class Inner <needs-comment/>
*/
private class Inner
{
/**
- * NEEDSDOC Method getTest
+ * Method getTest
*
*
- * NEEDSDOC (getTest) @return
+ * @return
*/
public boolean getTest()
{
@@ -190,10 +190,10 @@
}
/**
- * NEEDSDOC Method setTest
+ * Method setTest
*
*
- * NEEDSDOC @param test
+ * @param test
*/
public void setTest(boolean test)
{
1.2 +12 -12
xml-xalan/java/src/org/apache/xml/utils/synthetic/reflection/Constructor.java
Index: Constructor.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/utils/synthetic/reflection/Constructor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Constructor.java 2000/11/23 04:58:52 1.1
+++ Constructor.java 2000/12/18 00:07:53 1.2
@@ -89,19 +89,19 @@
*/
private org.apache.xml.utils.synthetic.Class declaringclass = null;
- /** NEEDSDOC Field realconstructor */
+ /** Field realconstructor */
private java.lang.reflect.Constructor realconstructor = null;
- /** NEEDSDOC Field parametertypes */
+ /** Field parametertypes */
private org.apache.xml.utils.synthetic.Class[] parametertypes;
- /** NEEDSDOC Field parameternames */
+ /** Field parameternames */
private String[] parameternames;
- /** NEEDSDOC Field exceptiontypes */
+ /** Field exceptiontypes */
private org.apache.xml.utils.synthetic.Class[] exceptiontypes;
- /** NEEDSDOC Field modifiers */
+ /** Field modifiers */
private int modifiers;
/**
@@ -110,7 +110,7 @@
* Creation date: (12-27-99 2:31:39 PM)
* @param realConstructor java.lang.reflect.Constructor
*
- * NEEDSDOC @param declaringclass
+ * @param declaringclass
*/
public Constructor(org.apache.xml.utils.synthetic.Class declaringclass)
{
@@ -123,8 +123,8 @@
* Creation date: (12-27-99 2:31:39 PM)
* @param realConstructor java.lang.reflect.Constructor
*
- * NEEDSDOC @param ctor
- * NEEDSDOC @param declaringclass
+ * @param ctor
+ * @param declaringclass
*/
public Constructor(java.lang.reflect.Constructor ctor,
org.apache.xml.utils.synthetic.Class declaringclass)
@@ -138,7 +138,7 @@
* Creation date: (12-27-99 2:31:39 PM)
* @param realConstructor java.lang.reflect.Constructor
*
- * NEEDSDOC @param realconstructor
+ * @param realconstructor
*/
public Constructor(java.lang.reflect.Constructor realconstructor)
{
@@ -150,7 +150,7 @@
* hashcode is the same as the hashcode for the
* underlying constructor's declaring class name.
*
- * NEEDSDOC ($objectName$) @return
+ * ($objectName$) @return
*/
public int hashCode()
{
@@ -216,9 +216,9 @@
* newly created and initialized instance.
*
*
- * NEEDSDOC @param initargs
+ * @param initargs initialization arguments.
*
- * NEEDSDOC ($objectName$) @return
+ * @return The new instance.
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
1.2 +39 -39
xml-xalan/java/src/org/apache/xml/utils/synthetic/reflection/EntryPoint.java
Index: EntryPoint.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/utils/synthetic/reflection/EntryPoint.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EntryPoint.java 2000/11/23 04:58:53 1.1
+++ EntryPoint.java 2000/12/18 00:07:53 1.2
@@ -75,44 +75,44 @@
abstract public class EntryPoint implements Member
{
- /** NEEDSDOC Field realep */
+ /** Field realep */
protected Object realep;
- /** NEEDSDOC Field declaringclass */
+ /** Field declaringclass */
private org.apache.xml.utils.synthetic.Class declaringclass = null;
- /** NEEDSDOC Field returntype */
+ /** Field returntype */
protected org.apache.xml.utils.synthetic.Class returntype = null;
- /** NEEDSDOC Field parameternames */
+ /** Field parameternames */
private String[] parameternames = new String[0];
- /** NEEDSDOC Field parametertypes */
+ /** Field parametertypes */
private org.apache.xml.utils.synthetic.Class[] parametertypes =
new org.apache.xml.utils.synthetic.Class[0];
- /** NEEDSDOC Field exceptiontypes */
+ /** Field exceptiontypes */
private org.apache.xml.utils.synthetic.Class[] exceptiontypes =
new org.apache.xml.utils.synthetic.Class[0];
;
- /** NEEDSDOC Field modifiers */
+ /** Field modifiers */
private int modifiers;
- /** NEEDSDOC Field name */
+ /** Field name */
protected String name = null; // for Methods
// For synthesis:
- /** NEEDSDOC Field body */
+ /** Field body */
private StringBuffer body = null;
- /** NEEDSDOC Field language */
+ /** Field language */
private String language = null;
// For reifying:
- /** NEEDSDOC Field realE, realP */
+ /** Field realE, realP */
Class[] realE, realP;
/**
@@ -121,7 +121,7 @@
* Creation date: (12-27-99 2:31:39 PM)
* @param realConstructor java.lang.reflect.Constructor
*
- * NEEDSDOC @param declaringclass
+ * @param declaringclass
*/
public EntryPoint(org.apache.xml.utils.synthetic.Class declaringclass)
{
@@ -131,8 +131,8 @@
/**
* Nonpublic constructor. Wrap this to appropriate "real" type
*
- * NEEDSDOC @param ep
- * NEEDSDOC @param declaringclass
+ * @param ep
+ * @param declaringclass
*
* @throws IllegalArgumentException
*/
@@ -184,7 +184,7 @@
/**
* Nonpublic constructor. Wrap this to appropriate "real" type
*
- * NEEDSDOC @param ep
+ * @param ep
*
* @throws IllegalArgumentException
*/
@@ -201,9 +201,9 @@
* (or are both ctors) and have the same
* formal parameter types.
*
- * NEEDSDOC @param obj
+ * @param obj
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public boolean equals(Object obj)
{
@@ -227,7 +227,7 @@
* declares the constructor represented by this
* Constructor object.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public org.apache.xml.utils.synthetic.Class getDeclaringClass()
{
@@ -239,7 +239,7 @@
* will be returned by this EntryPoint. Needed by the Method
* API, but made meaningful for Constructors as well.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public org.apache.xml.utils.synthetic.Class getReturnType()
{
@@ -253,7 +253,7 @@
* Constructor object. Returns an array of length 0 if
* the constructor throws no checked exceptions.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public org.apache.xml.utils.synthetic.Class[] getExceptionTypes()
{
@@ -276,10 +276,10 @@
}
/**
- * NEEDSDOC Method addExceptionType
+ * Method addExceptionType
*
*
- * NEEDSDOC @param exception
+ * @param exception
*
* @throws SynthesisException
*/
@@ -309,7 +309,7 @@
* @see
* Modifier
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public int getModifiers()
{
@@ -336,7 +336,7 @@
* Methods have a "real" name.
* Creation date: (12-25-99 1:32:06 PM)
*
- * NEEDSDOC @param name
+ * @param name
* @return java.lang.String
*
* @throws SynthesisException
@@ -357,7 +357,7 @@
* Returns an array of length 0 if the underlying
* constructor takes no parameters.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public org.apache.xml.utils.synthetic.Class[] getParameterTypes()
{
@@ -380,10 +380,10 @@
}
/**
- * NEEDSDOC Method getParameterNames
+ * Method getParameterNames
*
*
- * NEEDSDOC (getParameterNames) @return
+ * (getParameterNames) @return
*/
public String[] getParameterNames()
{
@@ -391,11 +391,11 @@
}
/**
- * NEEDSDOC Method addParameter
+ * Method addParameter
*
*
- * NEEDSDOC @param type
- * NEEDSDOC @param name
+ * @param type
+ * @param name
*
* @throws SynthesisException
*/
@@ -430,7 +430,7 @@
* xor'ed (for Methods) with the method name.
* (Implemented in the subclasses rather than here.)
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
abstract public int hashCode();
@@ -439,7 +439,7 @@
* declares the constructor represented by this
* Constructor object.
*
- * NEEDSDOC @param declaringClass
+ * @param declaringClass
*
* @throws SynthesisException
*/
@@ -489,7 +489,7 @@
* <p>
* Methods will also display their checked exceptions.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public String toString()
{
@@ -541,8 +541,8 @@
* Extension: For synthesis, we need a place to hang a
* method body.
*
- * NEEDSDOC @param language
- * NEEDSDOC @param body
+ * @param language
+ * @param body
*
* @throws SynthesisException
*/
@@ -562,7 +562,7 @@
* method body. Note that this returns a mutable object,
* for editing etc. Slightly sloppy first cut.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public StringBuffer getBody()
{
@@ -577,7 +577,7 @@
* Extension: For synthesis, we need a place to hang a
* method body.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public String getLanguage()
{
@@ -587,9 +587,9 @@
/**
* Generate Java code
*
- * NEEDSDOC @param basetab
+ * @param basetab
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public String toSource(String basetab)
{
1.2 +59 -59
xml-xalan/java/src/org/apache/xml/utils/synthetic/reflection/Field.java
Index: Field.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/utils/synthetic/reflection/Field.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Field.java 2000/11/23 04:58:53 1.1
+++ Field.java 2000/12/18 00:07:53 1.2
@@ -79,23 +79,23 @@
public class Field extends Object implements Member
{
- /** NEEDSDOC Field name, initializer */
+ /** Field name, initializer */
public String name, initializer = null;
- /** NEEDSDOC Field modifiers */
+ /** Field modifiers */
int modifiers;
- /** NEEDSDOC Field realfield */
+ /** Field realfield */
java.lang.reflect.Field realfield = null;
- /** NEEDSDOC Field declaringClass, type */
+ /** Field declaringClass, type */
Class declaringClass, type;
/**
* Proxy constructor
*
- * NEEDSDOC @param realfield
- * NEEDSDOC @param declaringClass
+ * @param realfield
+ * @param declaringClass
*/
public Field(java.lang.reflect.Field realfield,
org.apache.xml.utils.synthetic.Class declaringClass)
@@ -111,8 +111,8 @@
/**
* Synthesis constructor
*
- * NEEDSDOC @param name
- * NEEDSDOC @param declaringClass
+ * @param name
+ * @param declaringClass
*/
public Field(String name,
org.apache.xml.utils.synthetic.Class declaringClass)
@@ -127,9 +127,9 @@
* Fields are the same if they were declared by the
* same class and have the same name and type.
*
- * NEEDSDOC @param obj
+ * @param obj
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public boolean equals(Object obj)
{
@@ -176,9 +176,9 @@
* is.
*
*
- * NEEDSDOC @param obj
+ * @param obj
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -203,9 +203,9 @@
* object.
*
*
- * NEEDSDOC @param obj
+ * @param obj
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -229,9 +229,9 @@
* object.
*
*
- * NEEDSDOC @param obj
+ * @param obj
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -255,9 +255,9 @@
* object.
*
*
- * NEEDSDOC @param obj
+ * @param obj
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -281,7 +281,7 @@
* interface that declares the field represented by this
* Field object.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public org.apache.xml.utils.synthetic.Class getDeclaringClass()
{
@@ -298,9 +298,9 @@
* object.
*
*
- * NEEDSDOC @param obj
+ * @param obj
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -324,9 +324,9 @@
* object.
*
*
- * NEEDSDOC @param obj
+ * @param obj
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -349,9 +349,9 @@
* Get the value of a field as a int on specified object.
*
*
- * NEEDSDOC @param obj
+ * @param obj
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -375,9 +375,9 @@
* object.
*
*
- * NEEDSDOC @param obj
+ * @param obj
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -405,7 +405,7 @@
* @see
* Modifier
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public int getModifiers()
{
@@ -417,10 +417,10 @@
}
/**
- * NEEDSDOC Method getInitializer
+ * Method getInitializer
*
*
- * NEEDSDOC (getInitializer) @return
+ * (getInitializer) @return
*/
public String getInitializer()
{
@@ -428,10 +428,10 @@
}
/**
- * NEEDSDOC Method setInitializer
+ * Method setInitializer
*
*
- * NEEDSDOC @param i
+ * @param i
*
* @throws SynthesisException
*/
@@ -459,9 +459,9 @@
* object.
*
*
- * NEEDSDOC @param obj
+ * @param obj
*
- * NEEDSDOC ($objectName$) @return
+ * @return
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -484,7 +484,7 @@
* Returns a Class object that identifies the declared
* type for the field represented by this Field object.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public Class getType()
{
@@ -496,10 +496,10 @@
}
/**
- * NEEDSDOC Method setType
+ * Method setType
*
*
- * NEEDSDOC @param type
+ * @param type
*
* @throws SynthesisException
*/
@@ -519,7 +519,7 @@
* the underlying field's declaring class name and its
* name.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public int hashCode()
{
@@ -570,8 +570,8 @@
* widened new value.
*
*
- * NEEDSDOC @param obj
- * NEEDSDOC @param value
+ * @param obj
+ * @param value
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -597,8 +597,8 @@
* object.
*
*
- * NEEDSDOC @param obj
- * NEEDSDOC @param z
+ * @param obj
+ * @param z
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -624,8 +624,8 @@
* object.
*
*
- * NEEDSDOC @param obj
- * NEEDSDOC @param b
+ * @param obj
+ * @param b
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -651,8 +651,8 @@
* object.
*
*
- * NEEDSDOC @param obj
- * NEEDSDOC @param c
+ * @param obj
+ * @param c
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -678,7 +678,7 @@
* declares the constructor represented by this
* Constructor object.
*
- * NEEDSDOC @param declaringClass
+ * @param declaringClass
*/
public void setDeclaringClass(
org.apache.xml.utils.synthetic.Class declaringClass)
@@ -691,8 +691,8 @@
* object.
*
*
- * NEEDSDOC @param obj
- * NEEDSDOC @param d
+ * @param obj
+ * @param d
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -718,8 +718,8 @@
* object.
*
*
- * NEEDSDOC @param obj
- * NEEDSDOC @param f
+ * @param obj
+ * @param f
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -745,8 +745,8 @@
* object.
*
*
- * NEEDSDOC @param obj
- * NEEDSDOC @param i
+ * @param obj
+ * @param i
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -772,8 +772,8 @@
* object.
*
*
- * NEEDSDOC @param obj
- * NEEDSDOC @param l
+ * @param obj
+ * @param l
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -816,8 +816,8 @@
* object.
*
*
- * NEEDSDOC @param obj
- * NEEDSDOC @param s
+ * @param obj
+ * @param s
* @throws IllegalAccessException
* if the underlying constructor is inaccessible.
* @throws IllegalArgumentException
@@ -856,7 +856,7 @@
* and then other modifiers in the following order:
* static, final, transient, volatile.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public String toString()
{
@@ -870,7 +870,7 @@
/**
* Output the Field as Java sourcecode
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public String toSource()
{
1.2 +4 -4
xml-xalan/java/src/org/apache/xml/utils/synthetic/reflection/Member.java
Index: Member.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/utils/synthetic/reflection/Member.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Member.java 2000/11/23 04:58:53 1.1
+++ Member.java 2000/12/18 00:07:53 1.2
@@ -81,7 +81,7 @@
* interface that declares the member or constructor
* represented by this Member.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public abstract org.apache.xml.utils.synthetic.Class getDeclaringClass();
@@ -93,7 +93,7 @@
*
* @see Modifier
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
public abstract int getModifiers();
@@ -102,7 +102,7 @@
* interface that declares the member or constructor
* represented by this Member.
*
- * NEEDSDOC @param declaringClass
+ * @param declaringClass
*
* @throws SynthesisException
*/
@@ -118,7 +118,7 @@
*
* @see Modifier
*
- * NEEDSDOC @param modifiers
+ * @param modifiers
*
* @throws SynthesisException
*/
1.2 +11 -11
xml-xalan/java/src/org/apache/xml/utils/synthetic/reflection/Method.java
Index: Method.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/utils/synthetic/reflection/Method.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Method.java 2000/11/23 04:58:53 1.1
+++ Method.java 2000/12/18 00:07:53 1.2
@@ -92,8 +92,8 @@
* Creation date: (12-27-99 2:31:39 PM)
* @param realConstructor java.lang.reflect.Constructor
*
- * NEEDSDOC @param name
- * NEEDSDOC @param declaringclass
+ * @param name
+ * @param declaringclass
*/
public Method(String name,
org.apache.xml.utils.synthetic.Class declaringclass)
@@ -110,8 +110,8 @@
* Creation date: (12-27-99 2:31:39 PM)
* @param realConstructor java.lang.reflect.Constructor
*
- * NEEDSDOC @param ctor
- * NEEDSDOC @param declaringclass
+ * @param ctor
+ * @param declaringclass
*/
public Method(java.lang.reflect.Method ctor,
org.apache.xml.utils.synthetic.Class declaringclass)
@@ -125,7 +125,7 @@
* Creation date: (12-27-99 2:31:39 PM)
* @param realConstructor java.lang.reflect.Constructor
*
- * NEEDSDOC @param realmethod
+ * @param realmethod
*/
public Method(java.lang.reflect.Method realmethod)
{
@@ -138,7 +138,7 @@
* for the underlying method's declaring class name
* and the method's name.
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*/
/**
@@ -235,10 +235,10 @@
* Throws: NullPointerException
* if the specified object is null.
*
- * NEEDSDOC @param obj
- * NEEDSDOC @param args
+ * @param obj
+ * @param args
*
- * NEEDSDOC ($objectName$) @return
+ * @return
*
* @throws IllegalAccessException
* @throws IllegalArgumentException
@@ -257,10 +257,10 @@
}
/**
- * NEEDSDOC Method setReturnType
+ * Method setReturnType
*
*
- * NEEDSDOC @param returntype
+ * @param returntype
*
* @throws SynthesisException
*/