Detection/extract method/support inner class