Removed function isLocalCaseClass, use isStatic() instead.