public Class<?>[] getTypeArray() {

    Class<?>[] typeArray = new Class[this.parameters.size()];

    for (int i = 0; i < this.parameters.size(); i++) {
      typeArray[i] = this.parameters.get(i).getType();
    }

    return typeArray;
  }
public Class<?>[] getTypeArray() {

    Class<?>[] typeArray = new Class[this.parameters.size()];

    for (int i = 0; i < this.parameters.size(); i++) {
      typeArray[i] = this.parameters.get(i).getType();
    }

    return typeArray;
  }
public Class < ? > [ ] getTypeArray ( ) { Class < ? > [ ] typeArray = new Class [ this . parameters . size ( ) ] ; for ( int i = 0 ; i < this . parameters . size ( ) ; i ++ ) { typeArray [ i ] = this . parameters . get ( i ) . getType ( ) ; } return typeArray ; }
Returns an array of types for use with reflection method.invoke().

@return
Returns an array of types for use with reflection method . invoke () .