blob: d9174581c2d22f554b5524b8ef2f304b590067fd [file] [log] [blame]
<html>
<body>
Reports any attempt to instantiate a new <b>Long</b>,
<b>Integer</b>, <b>Short</b> or
<b>Byte</b> object from a primitive <b>long</b>,
<b>integer</b>, <b>short</b> or
<b>byte</b>
argument. It may be more efficient to use the static method <b>valueOf()</b>
here (introduced in Java 5), which will cache objects for values between -128 and
127 inclusive.
<p>
This inspection only reports if the project or module is configured to use a
language level of 5.0 or higher.
<!-- tooltip end -->
<p>
Use the checkbox below to ignore calls to number constructors with a <b>String</b> argument.
<p>
</body>
</html>