Top "Inspection" questions

What does "Can be package local" mean? (IDEA Inspection)

I used IntelliJ for "Inspect Code", and one of its results is:   Problem synopsis      Can be package local (at line 18(…

java intellij-idea inspection
Google-guava checkNotNull and IntelliJ IDEA's "may produce java.lang.NullPointerException"

Is there any way to suppress this warning: MyClass object = null; /*Some code that 'might' set this object but I …

intellij-idea nullpointerexception guava inspection
How do I get the value and type of the current exception in C++ using gdb?

gdb allows one to catch exceptions when they're thrown, and when they're caught. But sometimes the line an exception is …

c++ debugging exception gdb inspection
Ruby equivalent of Python's "dir"?

In Python we can "dir" a module, like this: >>> import re >>> dir(re) And …

python ruby inspection
What is the meaning of a forward slash "/" in a Python method signature, as shown by help(foo)?

In the signature returned interactively by help(foo), what is the meaning of a /? In [37]: help(object.__eq__) Help on …

python inspection python-interactive
Idea inspects batis mapper bean wrong

There's web project with Spring and MyBatis. I use IntelliJ IDEA for development. IDEA cannot correctly inspect MyBatis beans and …

java spring intellij-idea mybatis inspection
findViewById() may produce NullPointerException

I have many of these calls: (ListView) getView().findViewById(R.id.main_list_view); (TextView) getView().findViewById(R.id.items_…

java android-studio nullpointerexception inspection
Using opencv matchtemplate for blister pack inspection

I am doing a project in which I have to inspect pharmaceutical blister pack for missing tablets. I am trying …

opencv inspection matchtemplate
What is the dif between Software testing and Software inspection?

So I've read some reports about both of these methods but I can't really grasp the dif between the two. …

testing inspection
How to get arguments list of a built-in Python class constructor?

I'm trying to use the inspect module, however it seems I can't use it on a built-in (native?) class, or …

python reflection inspection asdl