raven-compiler/src/main/java/org/raven/antlr/ast/ClassDef.java
/**
     * Checks if the class def contains a method with a given name and number of params
     *
     * @param name       The method name
     * @param paramCount The the number of params
     * @return True if the def contains the method
     */
Checks if the class def contains a method with a given name and number of params
@param name       The method name
@param paramCount The the number of params
@return True if the def contains the method
Checks if the class def contains a method with a given name and number of params @param name The method name @param paramCount The the number of params @return True if the def contains the method
public boolean containsMethod(final String name, final int paramCount) {
        for (Fun fun : getMethods()) {
            if (fun.getName().toString().equals(name) && fun.getParams().length == paramCount)
                return true;
        }
        return false;
    }
public boolean containsMethod ( final String name , final int paramCount ) { for ( Fun fun : getMethods ( ) ) { if ( fun . getName ( ) . toString ( ) . equals ( name ) && fun . getParams ( ) . length == paramCount ) return true ; } return false ; }
Checks if the class def contains a method with a given name and number of params
 @param name       The method name
 @param paramCount The the number of params
 @return True if the def contains the method
Checks if the class def contains a method with a given name and number of params @param name The method name @param paramCount The the number of params @return True if the def contains the method