Community
Participate
Working Groups
3.1 Signature.getTypeParameter takes a type signature. From the code it seems that the first character must be a '<'. Looking at the specs, it wouldn't be possible that a type signature would start like that. The spec mentions a FormalTypeParameterSignature. But it doesn't explain the connection to a type signature.
Type parameter signatures are delimited with '<' and '>', e.g. public abstract class X<E extends Number> implements Runnable {} would yield the following signature for the type declaration: <E:Ljava/lang/Number;>Ljava/lang/Object;Ljava/lang/Runnable;
closing
My point was that this is not specified in the Javadoc of 'Signature'.
I see. Jerome pls clarify the spec.
Added OptionalTypeParameters for type and method signatures in the spec. Released for 3.3M1 in HEAD.
Verified for 3.3 M1 using build I20060807-0010