harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r411099 - in /incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect: Field.java Method.java
Date Fri, 02 Jun 2006 08:59:59 GMT
Author: mloenko
Date: Fri Jun  2 01:59:58 2006
New Revision: 411099

URL: http://svn.apache.org/viewvc?rev=411099&view=rev
Log:
fixes for HARMONY-524
[classlib][luni-kernel] java.lang.reflect Field and Method generification

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Field.java
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Method.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Field.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Field.java?rev=411099&r1=411098&r2=411099&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Field.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Field.java
Fri Jun  2 01:59:58 2006
@@ -193,12 +193,12 @@
 			IllegalArgumentException;
 
 	/**
-	 * Return the java.lang.Class associated with the class that defined this
+	 * Return the {@link Class} associated with the class that defined this
 	 * field.
 	 * 
 	 * @return the declaring class
 	 */
-	public Class getDeclaringClass() {
+	public Class<?> getDeclaringClass() {
 		return null;
 	}
 
@@ -354,11 +354,11 @@
 	native String getSignature();
 
 	/**
-	 * Return the java.lang.Class associated with the type of this field.
+	 * Return the {@link Class} associated with the type of this field.
 	 * 
 	 * @return the type
 	 */
-	public Class getType() {
+	public Class<?> getType() {
 		return null;
 	}
 

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Method.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Method.java?rev=411099&r1=411098&r2=411099&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Method.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/reflect/Method.java
Fri Jun  2 01:59:58 2006
@@ -172,23 +172,23 @@
 	}
 
 	/**
-	 * Return the java.lang.Class associated with the class that defined this
+	 * Return the {@link Class} associated with the class that defined this
 	 * method.
 	 * 
 	 * @return the declaring class
 	 */
-	public Class getDeclaringClass() {
+	public Class<?> getDeclaringClass() {
 		return null;
 	}
 
 	/**
-	 * Return an array of the java.lang.Class objects associated with the
+	 * Return an array of the {@link Class} objects associated with the
 	 * exceptions declared to be thrown by this method. If the method was not
 	 * declared to throw any exceptions, the array returned will be empty.
 	 * 
 	 * @return the declared exception classes
 	 */
-	public Class[] getExceptionTypes() {
+	public Class<?>[] getExceptionTypes() {
 		return null;
 	}
 
@@ -213,23 +213,23 @@
 	}
 
 	/**
-	 * Return an array of the java.lang.Class objects associated with the
+	 * Return an array of the {@link Class} objects associated with the
 	 * parameter types of this method. If the method was declared with no
 	 * parameters, the array returned will be empty.
 	 * 
 	 * @return the parameter types
 	 */
-	public Class[] getParameterTypes() {
+	public Class<?>[] getParameterTypes() {
 		return null;
 	}
 
 	/**
-	 * Return the java.lang.Class associated with the return type of this
+	 * Return the {@link Class} associated with the return type of this
 	 * method.
 	 * 
 	 * @return the return type
 	 */
-	public Class getReturnType() {
+	public Class<?> getReturnType() {
 		return null;
 	}
 



Mime
View raw message