code: @Override
      public boolean isCodeCType(int code, int ctype) {
          if (Config.USE_UNICODE_PROPERTIES) {
              if (ctype <= CharacterType.MAX_STD_CTYPE && code < 256)
                  return isCodeCTypeInternal(code, ctype);
          } else {
              if (code < 256) return isCodeCTypeInternal(code, ctype);
          }
  
          if (ctype > UnicodeProperties.CodeRangeTable.length) throw new InternalError(ErrorMessages.ERR_TYPE_BUG);
  
          return CodeRange.isInCodeRange(UnicodeProperties.CodeRangeTable[ctype].getRange(), code);
  
      }
docs: onigenc_unicode_is_code_ctype