code: public void setFileHeader(/* @Nullable */ JvmDeclaredType jvmDeclaredType, /* @Nullable */ String headerText) {
  		if (jvmDeclaredType == null || headerText == null) {
  			return;
  		}
  		FileHeaderAdapter fileHeaderAdapter = (FileHeaderAdapter) EcoreUtil.getAdapter(jvmDeclaredType.eAdapters(),
  				FileHeaderAdapter.class);
  		if (fileHeaderAdapter == null) {
  			fileHeaderAdapter = new FileHeaderAdapter();
  			jvmDeclaredType.eAdapters().add(fileHeaderAdapter);
  		}
  		fileHeaderAdapter.setHeaderText(headerText);
  	}
docs: Attaches the given headText to the given {@link JvmDeclaredType}.