topType = repos.getTopType(); bottomType = repos.getBottomType(); nullType = repos.getNullType(); longExtraType = repos.getLongExtraType(); doubleExtraType = repos.getDoubleExtraType();
	protected void setUp() {		if (Boolean.getBoolean("tr.debug")) System.out.println("----- Set up -----");		// In this test, all class types are explicitly marked as		// class vs. interface, and supertypes explicitly identified.		// So, dynamic class resolution should never be required.		ClassResolver resolver = new NullClassResolver();		this.repos = new TypeRepository(resolver);		// Create the common class library types needed		javaLangObjectType = repos.classTypeFromDottedClassName("java.lang.Object");		setClass(javaLangObjectType);		javaIoSerializableType = repos.classTypeFromDottedClassName("java.io.Serializable");		setInterface(javaIoSerializableType);		javaLangCloneableType = repos.classTypeFromDottedClassName("java.lang.Cloneable");		setInterface(javaLangCloneableType);		// Basic types		booleanType = repos.basicTypeFromTypeCode(Constants.T_BOOLEAN);		byteType = repos.basicTypeFromTypeCode(Constants.T_BYTE);		charType = repos.basicTypeFromTypeCode(Constants.T_CHAR);		shortType = repos.basicTypeFromTypeCode(Constants.T_SHORT);		intType = repos.basicTypeFromTypeCode(Constants.T_INT);		longType = repos.basicTypeFromTypeCode(Constants.T_LONG);		floatType = repos.basicTypeFromTypeCode(Constants.T_FLOAT);		doubleType = repos.basicTypeFromTypeCode(Constants.T_DOUBLE);		voidType = repos.basicTypeFromTypeCode(Constants.T_VOID);		// Fake hierarchy classes		myClassType = repos.classTypeFromSlashedClassName("com/foobar/MyClass");		setClass(myClassType);		mySuperclassType = repos.classTypeFromDottedClassName("com.foobar.MySuperClass");		setClass(mySuperclassType);		myInterfaceType = repos.classTypeFromDottedClassName("com.foobar.MyInterface");		setInterface(myInterfaceType);		mySubinterfaceType = repos.classTypeFromDottedClassName("com.foobar.SubInterface");		setInterface(mySubinterfaceType);		repos.addSuperclassLink(myClassType, mySuperclassType);		repos.addSuperclassLink(mySuperclassType, javaLangObjectType);		repos.addInterfaceLink(mySuperclassType, myInterfaceType);		repos.addInterfaceLink(mySubinterfaceType, myInterfaceType);		unrelatedThingType = repos.classTypeFromDottedClassName("com.foobar.UnrelatedThing");		setClass(unrelatedThingType);		repos.addSuperclassLink(unrelatedThingType, javaLangObjectType);		// Array classes		myClassArrayType = repos.arrayTypeFromDimensionsAndBaseType(1, myClassType);		myClassArray2Type = repos.arrayTypeFromDimensionsAndBaseType(2, myClassType);		mySuperclassArrayType = repos.arrayTypeFromDimensionsAndBaseType(1, mySuperclassType);		mySuperclassArray2Type = repos.arrayTypeFromDimensionsAndBaseType(2, mySuperclassType);		myInterfaceArrayType = repos.arrayTypeFromDimensionsAndBaseType(1, myInterfaceType);		mySubinterfaceArrayType = repos.arrayTypeFromDimensionsAndBaseType(1, mySubinterfaceType);		javaLangObjectArray1Type = repos.arrayTypeFromDimensionsAndBaseType(1, javaLangObjectType);		javaLangObjectArray2Type = repos.arrayTypeFromDimensionsAndBaseType(2, javaLangObjectType);		booleanArray1Type = repos.arrayTypeFromDimensionsAndBaseType(1, booleanType);		booleanArray2Type = repos.arrayTypeFromDimensionsAndBaseType(2, booleanType);		unrelatedThingArrayType = repos.arrayTypeFromDimensionsAndBaseType(1, unrelatedThingType);		unrelatedThingArray2Type = repos.arrayTypeFromDimensionsAndBaseType(2, unrelatedThingType);	}