private static List < Method > getAnnotatedMethods ( Class < ? > clazz ) { List < Method > methods = new ArrayList < Method > ( ) ; for ( Method method : getAllMethods ( clazz ) ) if ( ! isNull ( method . getAnnotation ( JMapConversion . class ) ) ) methods . add ( method ) ; return methods ; }
Returns a list with all annotated methods .