public static Type [ ] getTypeArguments ( Field property ) { Type type = property . getGenericType ( ) ; if ( type instanceof ParameterizedType ) { return ( ( ParameterizedType ) type ) . getActualTypeArguments ( ) ; } return null ; }
Gets the type arguments .