code: public static boolean isIntCategory(ClassNode type) {
          return  type==byte_TYPE     ||  type==char_TYPE     ||
                  type==int_TYPE      ||  type==short_TYPE;
      }
docs: It is of an int category, if the provided type is a
  byte, char, short, int.