public static boolean methodHasArgument ( Method method , Property property ) { for ( Property candidate : method . getArguments ( ) ) { if ( candidate . equals ( property ) ) { return true ; } } return false ; }
Checks if method has a specific argument .