extract ReflectionUtil.getMethodDeclaringClass
remove unused IdSet