public ClassNode[] getHierarchy(ClassNode c) {
		LinkedList<ClassNode> hierarchy = new LinkedList<ClassNode>();

		ClassNode c2 = c;
		while (c2 != null) {
			hierarchy.addFirst(c2);

			if (c2.superName == null) {
				break;
			}

			c2 = getClass(c2.superName);
		}

		return hierarchy.toArray(new ClassNode[0]);
	}