java.lang.reflect.WildcardType.getLowerBounds()

Why does java.lang.reflect.WildcardType.getLowerBounds() and java.lang.reflect.WildcardType.getLowerUpperBounds() return an array? When would a wild card have more that one upper bound or one lower bound?
[211 byte] By [jasonxa] at [2007-11-26 14:53:33]
# 1
<T extends A & B><T super A & B>
ejpa at 2007-7-8 8:41:54 > top of Java-index,Core,Core APIs...
# 2
Thank you, I was not aware of that syntax.
jasonxa at 2007-7-8 8:41:54 > top of Java-index,Core,Core APIs...
# 3

>> <T extends A & B>

this declares a type variable, not a wildcard type.

Wheras a type variable may have multiple upper bounds, a wildcard type may not.

>> <T super A & B>

sorry, this is no valid syntax. A type variable may not have lower bounds at all.

Only wildcard types may have at most one lower bound.

I think the OP's question is a valid one: why does the reflection API offer access to multiple bounds for wildcards if those are not supported by the Java Language Spec?

Amazing that this hasn't come up earlier - or has it?

McNeppa at 2007-7-8 8:41:54 > top of Java-index,Core,Core APIs...