/[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.2.4 by gnu_andrew, Fri May 27 00:01:46 2005 UTC revision 1.11.2.5 by gnu_andrew, Wed Jun 8 23:24:52 2005 UTC
# Line 185  public final class Constructor<T> Line 185  public final class Constructor<T>
185    public String toString()    public String toString()
186    {    {
187      // 128 is a reasonable buffer initial size for constructor      // 128 is a reasonable buffer initial size for constructor
188      StringBuffer sb = new StringBuffer(128);      StringBuilder sb = new StringBuilder(128);
189      Modifier.toString(getModifiers(), sb).append(' ');      Modifier.toString(getModifiers(), sb).append(' ');
190      sb.append(getDeclaringClass().getName()).append('(');      sb.append(getDeclaringClass().getName()).append('(');
191      Class[] c = getParameterTypes();      Class[] c = getParameterTypes();
# Line 248  public final class Constructor<T> Line 248  public final class Constructor<T>
248      throws InstantiationException, IllegalAccessException,      throws InstantiationException, IllegalAccessException,
249             InvocationTargetException;             InvocationTargetException;
250    
251    /** FIXME    /**
252       * Returns an array of <code>TypeVariable</code> objects that represents
253       * the type variables declared by this constructor, in declaration order.
254       * An array of size zero is returned if this class has no type
255       * variables.
256       *
257       * @return the type variables associated with this class.
258       * @throws GenericSignatureFormatError if the generic signature does
259       *         not conform to the format specified in the Virtual Machine
260       *         specification, version 3.
261     * @since 1.5     * @since 1.5
262     */     */
263    public TypeVariable<?>[] getTypeParameters()    public native TypeVariable<?>[] getTypeParameters();
264    {  
     return new TypeVariable<?>[0];  
   }  
265  }  }

Legend:
Removed from v.1.11.2.4  
changed lines
  Added in v.1.11.2.5

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