for (Method method : methods) { for (Method m : ms) { if (SCAPrimitiveIntentControllerImpl.areSame(m ,method)) { mtcis.put(method ,tci); mms.put(method ,m);
/** * @see org.ow2.frascati.tinfi.control.intent.SCAIntentControllerMixin#initFcMaps() */ private void initFcMaps() { mtcis = new java.util.HashMap<java.lang.reflect.Method, org.ow2.frascati.tinfi.TinfiComponentInterceptor<?>>(); mms = new java.util.HashMap<java.lang.reflect.Method, java.lang.reflect.Method>(); java.lang.reflect.Method[] methods = cl.getMethods(); java.lang.Object[] itfs = weaveableOptC.getFcInterfaces(); for (java.lang.Object o : itfs) { org.objectweb.fractal.api.Interface itf = ((org.objectweb.fractal.api.Interface) (o)); java.lang.String name = itf.getFcItfName(); if ((name.endsWith("-controller")) || (name.equals("component"))) { continue; } java.lang.Object i = ((org.objectweb.fractal.julia.ComponentInterface) (itf)).getFcItfImpl(); org.ow2.frascati.tinfi.TinfiComponentInterceptor<?> tci = ((org.ow2.frascati.tinfi.TinfiComponentInterceptor<?>) (i)); org.objectweb.fractal.api.type.InterfaceType it = ((org.objectweb.fractal.api.type.InterfaceType) (itf.getFcItfType())); java.lang.String signature = it.getFcItfSignature(); java.lang.Class<?> business = juliac.generated.SCAPrimitiveIntentControllerImpl.loadFcClass(signature); java.lang.reflect.Method[] ms = business.getMethods(); for (java.lang.reflect.Method method : methods) { for (java.lang.reflect.Method m : ms) { if (juliac.generated.SCAPrimitiveIntentControllerImpl.areSame(m, method)) { mtcis.put(method, tci); mms.put(method, m); } } } } }