class WicketEndpointDetector implements Detector {

    private static final String WICKET_ENDPOINT_TYPE = "WICKET_ENDPOINT";

    private BugReporter bugReporter;

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

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

    @Override
    public void report() {

    }
}

        JavaClass javaClass = classContext.getJavaClass();

        String superClassName = javaClass.getSuperclassName();
        if ("org.apache.wicket.markup.html.WebPage".equals(superClassName)) {
            bugReporter.reportBug(new BugInstance(this, WICKET_ENDPOINT_TYPE, Priorities.LOW_PRIORITY) //
                    .addClass(javaClass));
            return;
        }
    
<no_super_class>