public JType [ ] getActualTypeArguments ( ) { Type [ ] rawArgs = _type . getActualTypeArguments ( ) ; JType [ ] args = new JType [ rawArgs . length ] ; for ( int i = 0 ; i < args . length ; i ++ ) { Type type = rawArgs [ i ] ; if ( type instanceof Class ) { args [ i ] = _loader . forName ( ( ( Class ) type ) . getName ( ) ) ; } else if ( type instanceof ParameterizedType ) args [ i ] = new JTypeWrapper ( _loader , ( ParameterizedType ) type ) ; else { args [ i ] = _loader . forName ( "java.lang.Object" ) ; // jpa/0gg0 // throw new IllegalStateException(type.toString()); } } return args ; }
Returns the actual type arguments .