class PebbleDetector extends OpcodeStackDetector {
    private static final String PEBBLE_TYPE = "TEMPLATE_INJECTION_PEBBLE";

    private BugReporter bugReporter;

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

    @Override
    public void sawOpcode(int seen) {<FILL_FUNCTION_BODY>}
}

        if (seen == Const.INVOKEVIRTUAL && getClassConstantOperand().equals("com/mitchellbosecke/pebble/template/PebbleTemplate")
                && getNameConstantOperand().equals("evaluate")) {

            bugReporter.reportBug(new BugInstance(this, PEBBLE_TYPE, Priorities.NORMAL_PRIORITY)
                    .addClass(this).addMethod(this).addSourceLine(this));
        }
    
<no_super_class>