protected MethodInfo getMethodInfo( Method method ) {
        MethodInfo mi = methodIndex.get(method);
        if( mi == null ) {
            mi = typeInfo.getMethod(method);
            if( mi == null ) {
                mi = MethodInfo.NULL_INFO;
            }                      
            methodIndex.put(method, mi);
        }
        return mi == MethodInfo.NULL_INFO ? null : mi;
    }
Used internally to remotely invoke methods on RMI shared objects.

 @author    Paul Speed
jme3-networking/src/main/java/com/jme3/network/service/rmi/RemoteObjectHandler.java