|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TypeInfo
Neither Class nor Type really do it for
passing generic type information around. Type isn't guaranteed to work, and
Class can't tell you any thing about the types. TypeInfo allows us to
annotate the type information when we know more than the JVM.
| Method Summary | |
|---|---|
TypeInfo |
getChildTypeInfo(int i)
Any type can have a number of generic type parameters. |
java.lang.Class<?> |
getPrimaryType()
The We'd like to just pass around a Class, but that doesn't hold generic information, so this gets us the basic level of data. |
| Method Detail |
|---|
java.lang.Class<?> getPrimaryType()
TypeInfo getChildTypeInfo(int i)
getPrimaryType(). This array is zero based.
i - The index of the generic type parameter.
java.lang.IllegalArgumentException - if i<0 or i>=childCount
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||