List < String > getArgumentsType ( ExecutableElement methodElement ) { ExecutableType methodType = ( ExecutableType ) methodElement . asType ( ) ; List < String > res = new ArrayList <> ( ) ; for ( TypeMirror argumentType : methodType . getParameterTypes ( ) ) { res . add ( argumentType . toString ( ) ) ; } return res ; }
Get argument types list from method