In java, first very basic detection of int type for parameters