Type Code Detecting and Refactoring Optimized

Collection of type code value and branch code were moved to the part of
refactoring opportunity identification. TypeCodeDetector2 means
identification only without collection.