class Struts1EndpointDetector implements Detector {

    public static final String STRUTS1_ENDPOINT_TYPE = "STRUTS1_ENDPOINT";

    private BugReporter bugReporter;

    public Struts1EndpointDetector(BugReporter bugReporter) {
        this.bugReporter = bugReporter;
    }

    @Override
    public void visitClassContext(ClassContext classContext) {<FILL_FUNCTION_BODY>}

    @Override
    public void report() {

    }
}

        JavaClass javaClass = classContext.getJavaClass();

        if ("org.apache.struts.action.Action".equals(javaClass.getSuperclassName())) {
            bugReporter.reportBug(new BugInstance(this, STRUTS1_ENDPOINT_TYPE, Priorities.LOW_PRIORITY) //
                    .addClass(javaClass));
        }
    
<no_super_class>