from __future__ import annotations
from typing import Any, Protocol, runtime_checkable

@runtime_checkable
class XCodeNameQuery(Protocol):
    def getCodeNameForObject(self, aObj: XInterface) -> str: ...
    def getCodeNameForContainer(self, aObj: XInterface) -> str: ...
