public Collection < Method > getAllMethods ( String name ) { final Map < ParamList , Map < Class < ? > , Method > > nameMap = methods . get ( name ) ; if ( nameMap == null ) { return Collections . emptySet ( ) ; } final Collection < Method > methods = new ArrayList < Method > ( ) ; for ( Map < Class < ? > , Method > map : nameMap . values ( ) ) { methods . addAll ( map . values ( ) ) ; } return methods ; }
Get a collection of methods declared on this object by method name .