if (myType != null && myType.getWeaverState() != null) {
myGen.addAttribute(BcelAttributes.bcelAttribute(new AjAttribute.WeaverVersionInfo(),getConstantPoolGen()));  if (myType != null && myType.getWeaverState() != null) {
    private void writeBack(BcelWorld world) {        if (getConstantPoolGen().getSize() > Short.MAX_VALUE) {            // PR 59208            // we've generated a class that is just toooooooooo big (you've been generating programs            // again haven't you? come on, admit it, no-one writes classes this big by hand).            // create an empty myGen so that we can give back a return value that doesn't upset the            // rest of the process.            myGen = new ClassGen(myGen.getClassName(), myGen.getSuperclassName(),                     myGen.getFileName(), myGen.getAccessFlags(), myGen.getInterfaceNames());            // raise an error against this compilation unit.       		getWorld().showMessage(        			IMessage.ERROR,     				WeaverMessages.format(WeaverMessages.CLASS_TOO_BIG,    						              this.getClassName()),    			    new SourceLocation(new File(myGen.getFileName()),0), null    			    );        	return;        }    	if (myType != null && myType.getWeaverState() != null) {			myGen.addAttribute(BcelAttributes.bcelAttribute(				new AjAttribute.WeaverState(myType.getWeaverState()), 				getConstantPoolGen()));    	}    	    	addAjcInitializers();    	        int len = methodGens.size();        myGen.setMethods(new Method[0]);                calculateSourceDebugExtensionOffsets();        for (int i = 0; i < len; i++) {            LazyMethodGen gen = (LazyMethodGen) methodGens.get(i);            // we skip empty clinits            if (isEmptyClinit(gen)) continue;            myGen.addMethod(gen.getMethod());        }		if (inlinedFiles.size() != 0) {			if (hasSourceDebugExtensionAttribute(myGen)) {				world.showMessage(					IMessage.WARNING,					WeaverMessages.format(WeaverMessages.OVERWRITE_JSR45,getFileName()),					null,					null);			}			myGen.addAttribute(getSourceDebugExtensionAttribute());		}    }