/** * Creates a ClassNode from a real class. The resulting ClassNode will not be a primary ClassNode. */ public ClassNode(Class c) { this(c.getName(), c.getModifiers(), null, null, MixinNode.EMPTY_ARRAY); clazz = c; lazyInitDone = false; CompileUnit cu = getCompileUnit(); if (cu != null) cu.addClass(this); isPrimaryNode = false; }