goja-web/src/main/java/goja/plugins/shiro/ShiroPlugin.java
private Set<String> buildExcludedMethodName() {
        Set<String> excludedMethodName = new HashSet<>();
        Method[] methods = Controller.class.getMethods();
        for (Method m : methods) {
            if (m.getParameterTypes().length == 0) {
                excludedMethodName.add(m.getName());
            }
        }
        return excludedMethodName;
    }
private Set<String> buildExcludedMethodName() {
        Set<String> excludedMethodName = new HashSet<>();
        Method[] methods = Controller.class.getMethods();
        for (Method m : methods) {
            if (m.getParameterTypes().length == 0) {
                excludedMethodName.add(m.getName());
            }
        }
        return excludedMethodName;
    }
private Set < String > buildExcludedMethodName ( ) { Set < String > excludedMethodName = new HashSet <> ( ) ; Method [ ] methods = Controller . class . getMethods ( ) ; for ( Method m : methods ) { if ( m . getParameterTypes ( ) . length == 0 ) { excludedMethodName . add ( m . getName ( ) ) ; } } return excludedMethodName ; }
从Controller方法中构建出需要排除的方法列表

@return 排除的方法列表
从Controller方法中构建出需要排除的方法列表