The complexity of software products is an important aspect in software measurement field. The complexity has a close relationship with the developing cost, time spending and the number of detects which a program may exist. OOA and OOD had been widely used, so the requirement of measuring software complexity written in object-oriented language is emerging. UML is a modeling language for OOA and OOD, it had been accepted as an industry standard. Then, this paper presented a suite of class complexity metrics based on UML class diagram that was adapted to Java, and verifies them with a suite of evaluation rules suggested by Weyuker.