public void visit(ClassOrInterfaceDeclaration classOrInterface,
			Object object) {

		List<ClassOrInterfaceType> extendsList = classOrInterface.getExtends();
		List<ClassOrInterfaceType> implementsList = classOrInterface
				.getImplements();

		if (extendsList != null) {
			for (ClassOrInterfaceType extendsName : extendsList) {
				extendingList.add(extendsName.getName());
			}
		}

		if (implementsList != null) {
			for (ClassOrInterfaceType implementsName : implementsList) {
				implementationList.add(implementsName.getName());
			}
		}

		if (classOrInterface.isInterface() == true) {
			cOrI = "Interface";
		} else {
			cOrI = "Class";
		}
	}