|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.vidageek.mirror.provider.java.PureJavaParameterizedElementReflectionProvider
public class PureJavaParameterizedElementReflectionProvider
| Constructor Summary | |
|---|---|
PureJavaParameterizedElementReflectionProvider(GenericTypeAccessor accessor)
|
|
| Method Summary | |
|---|---|
Class<?> |
getTypeAtPosition(int index)
Returns the declared type at a given position. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PureJavaParameterizedElementReflectionProvider(GenericTypeAccessor accessor)
| Method Detail |
|---|
public Class<?> getTypeAtPosition(int index)
ParameterizedElementReflectionProviderindex argument
is the position where type has been declared, starting by 0. For example:
HashMap field;
String refers to position 0 and Object to position 1.
getTypeAtPosition in interface ParameterizedElementReflectionProviderindex - Position of declared type.
Class.getGenericSuperclass(),
Field.getGenericType(),
ParameterizedType.getActualTypeArguments()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||