// class definition that look like this:
// public class org.apache.Foo {}
// out fix for this is to run the string
// through Multiname.getBaseNameForQName.
String definitionName = Multiname.getBaseNameForQName(nameNode.computeSimpleReference());
INamespaceReference namespaceReference = NamespaceDefinition.createNamespaceReference(getASScope(), getNamespaceNode());
ClassDefinition definition = new ClassDefinition(definitionName, namespaceReference);
definition.setNode(this);
fillInModifiers(definition);