Handling the case NAME DOT THIS for inner classes