Flags flags = new Flags();
flags.setIgnoreHingletons(true);
flags.setIgnoreMingletons(true);
flags.setIgnoreFingletons(true);
detector =
new SingletonDetector(root, path, flags,
getAsmStyleClassName(SingletonOne.class),
getAsmStyleClassName(SingletonUserOne.class));
Clazz singletonOne =
detector.getClass(getAsmStyleClassName(SingletonOne.class));