import org.jboss.byteman.rule.Rule; import org.jboss.byteman.rule.helper.Helper; import org.jboss.byteman.rule.exception.ExecuteException; public class ExampleClass { public void methodToModify() { } public static class ExampleHelper extends Helper { public ExampleHelper(Rule rule) { super(rule); } public void beforeMethod() throws ExecuteException { } public void afterMethod() throws ExecuteException { } } }


上一篇:
下一篇:
切换中文