remove isDataClass check for StaticLocalChecker