/[classpath]/classpath/vm/reference/java/lang/reflect/Constructor.java
ViewVC logotype

Diff of /classpath/vm/reference/java/lang/reflect/Constructor.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by egagnon, Mon Mar 29 07:07:40 2004 UTC revision 1.12 by archie172, Sun May 22 00:01:44 2005 UTC
# Line 78  extends AccessibleObject implements Memb Line 78  extends AccessibleObject implements Memb
78  {  {
79    private Class clazz;    private Class clazz;
80    private int slot;    private int slot;
   private Class[] parameterTypes;  
   private Class[] exceptionTypes;  
81        
82    /**    /**
83     * This class is uninstantiable except from native code.     * This class is uninstantiable except from native code.
# Line 129  extends AccessibleObject implements Memb Line 127  extends AccessibleObject implements Memb
127     *     *
128     * @return a list of the types of the constructor's parameters     * @return a list of the types of the constructor's parameters
129     */     */
130    public Class[] getParameterTypes()    public native Class[] getParameterTypes();
   {  
     if (parameterTypes == null)  
       return new Class[0];  
     return parameterTypes;  
   }  
131    
132    /**    /**
133     * Get the exception types this constructor says it throws, in no particular     * Get the exception types this constructor says it throws, in no particular
# Line 143  extends AccessibleObject implements Memb Line 136  extends AccessibleObject implements Memb
136     *     *
137     * @return a list of the types in the constructor's throws clause     * @return a list of the types in the constructor's throws clause
138     */     */
139    public Class[] getExceptionTypes()    public native Class[] getExceptionTypes();
   {  
     if (exceptionTypes == null)  
       return new Class[0];  
     return exceptionTypes;  
   }  
140    
141    /**    /**
142     * Compare two objects to see if they are semantically equivalent.     * Compare two objects to see if they are semantically equivalent.

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26