def METHOD_NAME(self):
    lines = []
    hasLib = False
    hasPcd = False
    if len(self._OverideLibraries) != 0:
        hasLib = True
    if len(self._OveridePcds) != 0:
        hasPcd = True
    if hasLib or hasPcd:
        lines.append(('  %s {\n' % self._Filename))
    else:
        lines.append(('  %s \n' % self._Filename))
        return lines
    if hasLib:
        lines.append('    <LibraryClasses>\n')
        for libKey in self._OverideLibraries.keys():
            lines.append('      %s|%s\n' % (libKey, self._OverideLibraries[libKey]))
    if hasPcd:
        for key in self._OveridePcds.keys():
            lines.append('    <%s>\n' % key)
            for name, value in self._OveridePcds[key]:
                if value is not None:
                    lines.append('      %s|%s\n' % (name, value))
                else:
                    lines.append('      %s\n' % name)
    if hasLib or hasPcd:
        lines.append('  }\n')
    return lines