1 23 package org.objectweb.fractal.jmx.julia.stat; 24 25 import org.objectweb.fractal.julia.asm.SimpleCodeGenerator; 26 import java.lang.reflect.Method ; 27 28 48 public class StatCodeGenerator extends SimpleCodeGenerator { 49 protected String getControllerInterfaceName() { 50 return "stat-controller"; 51 } 52 53 protected String getPreMethodName() { 54 return "statPreMethod"; 55 } 56 57 protected String getPostMethodName() { 58 return "statPostMethod"; 59 } 60 61 protected Class getContextType() { 62 return Void.TYPE; 63 } 64 65 protected String getMethodName(final Method m) { 66 return m.getName(); 67 } 68 } 69 | Popular Tags |