Python Identify Static Method Example Java