This inspection reports any instances of calls to a specified list of methods where the result of that call is ignored. For many method, ignoring the result is perfectly legitimate, but for some method it is almost certainly an error. Examples of methods where ignoring the result ofa call is likely to be an error inclued java.io.inputStream.read(), which returns the number of bytes actually read, any method on java.lang.String or java.math.BigInteger, as all of those methods are side-effect free and thus pointless if ignored

Use the panel below to enter the class names and method names of the methods you wish to check for ignored returns. Class names must be specified as a simple string, while method names may be specified using a standard Java regular expression. Specifying a class names implicitly specifies that class and all of its subclasses. In addition, you may choose to report any call to a non-library call whose result is ignored