public List<Method> getMethods( String name )
    {
        List<Method> methods = new ArrayList<Method>();
        
        for (Method method : target.getMethods())
        {
            if (compare( method.getName(), name )) methods.add(method);
        }
        return methods;
    }
public List < Method > getMethods ( String name ) { List < Method > methods = new ArrayList < Method > ( ) ; for ( Method method : target . getMethods ( ) ) { if ( compare ( method . getName ( ) , name ) ) methods . add ( method ) ; } return methods ; }
<p>getMethods.</p>

@param name a {@link java.lang.String} object.
@return a {@link java.util.List} object.