raven-compiler/src/main/java/org/raven/compiler/Method.java
/**
     * Used to check if a method is overloaded or non-existent
     *
     * @param funOwner   The owner of the method
     * @param name       The name of the method
     * @param paramCount The number of parameters
     * @return the number of methods with the name and given param count
     */
Used to check if a method is overloaded or non-existent
@param funOwner   The owner of the method
@param name       The name of the method
@param paramCount The number of parameters
@return the number of methods with the name and given param count
Used to check if a method is overloaded or non - existent @param funOwner The owner of the method @param name The name of the method @param paramCount The number of parameters @return the number of methods with the name and given param count
private int methodCount(final String funOwner, final String name, final int paramCount) {
        int count = 0;
        try {
            Class<?> klazz = Class.forName(funOwner.replace("/", "."));
            for (java.lang.reflect.Method method : klazz.getDeclaredMethods()) {
                if (method.getName().equals(name) && method.getParameterCount() == paramCount) {
                    count++;
                }
            }
        } catch (ClassNotFoundException ignored) {
        }
        return count;
    }
private int methodCount ( final String funOwner , final String name , final int paramCount ) { int count = 0 ; try { Class < ? > klazz = Class . forName ( funOwner . replace ( "/" , "." ) ) ; for ( java . lang . reflect . Method method : klazz . getDeclaredMethods ( ) ) { if ( method . getName ( ) . equals ( name ) && method . getParameterCount ( ) == paramCount ) { count ++ ; } } } catch ( ClassNotFoundException ignored ) { } return count ; }
Used to check if a method is overloaded or non-existent
 @param funOwner   The owner of the method
 @param name       The name of the method
 @param paramCount The number of parameters
 @return the number of methods with the name and given param count
Used to check if a method is overloaded or non - existent @param funOwner The owner of the method @param name The name of the method @param paramCount The number of parameters @return the number of methods with the name and given param count