code: protected void addWarningMarker(File file, String message, ILexLocation location,
  			String sourceId)
  	{
  		FileUtility.addMarker(project.findIFile( file),message,location,IMarker.SEVERITY_WARNING,sourceId,-1);
  	}
docs: public abstract String getNatureId();