Questions tagged [inspection]
111 questions
1
vote
3 answers
firebug:object inspection
In firebug it is so easy and very handy to inspect an object.
However, I don't have any clue about the color code used there.
Some properties are in red, some others in green, some in black, some with bold font, etc...
When you hover over some…

user385411
- 1,445
- 1
- 18
- 35
1
vote
0 answers
PyCharm incorrectly detects type errors on decorated function's arguments
I use PyCharm COMMUNITY 2018.2.
I wrote a code as follow.
def increment(func):
def wrapper(count):
"""
:param int count:
"""
count += 1
func(str(count))
return wrapper
@increment
def plus_a(count):
…
1
vote
1 answer
Is there a way to get in Python the original value of the parameters of a function given a frame?
How to get the values of the call parameters of a function / method?
It's for a debugging tool, and it would be used in a scenario like this one:
import inspect
def getCallParameter():
stack = inspect.stack()
outer = stack[1] #This is an…

hl037_
- 3,520
- 1
- 27
- 58
1
vote
1 answer
ReSharper calls inspection does not find a method
With R# 2017.3 I'm trying to find out whether method A through a call chain eventually might call method B.
So, I'm using Inspect->Incoming calls and try to use the filter field providing the method B name. Even though I know for sure that the…

Natan
- 134
- 7
1
vote
1 answer
IntelliJ IDEA: Can I specify which class is in "secure context"
"Clonable class in secure context" inspection triggers if a class implements Cloneable. The name of the inspection implies that it is only applied to classes which are in a "secure context".
How does IntelliJ decide if a class is in a secure…

Eduard Wirch
- 9,785
- 9
- 61
- 73
1
vote
0 answers
(PyCharm) Tool to understand python code
we have a programming project on our college in Python and are using PyCharm. There is already an existing code which we have to understand at the first step.
Our project team don't know how to begin analyse the code. Is there a tool for PyCharm…
user6451039
1
vote
1 answer
How to get the required injections from a @Inject constructor without creating an injector?
I'm toying around with Guice Introspection in the hopes of building a library that auto-checks guice bindings and requirements as a unit test and pretty prints missing bindings for easier Guicing.
I wrote up a quick ElementVisitor, but I noticed…

Zach H
- 469
- 5
- 18
1
vote
0 answers
How to create a custom inspection for a missing call after something has been instantiated?
I have a custom class, which is useless when it's only instantiated, without having its method called. This should never happen, so if it is in the code, I would like a warning in Android Studio that says something like "You instantiated that class,…

Timmiej93
- 1,328
- 1
- 16
- 35
1
vote
1 answer
What is "Throwable Result Of Method Call Ignored" in android studio?
I have such codes in android studio:
@Override
public void onLocationChanged(AMapLocation amapLocation) {
if (amapLocation != null && amapLocation.getAMapException() != null
&&…

SDJSK
- 1,292
- 17
- 24
1
vote
2 answers
How to eliminate 'braces on new line' using Intellij search and replace pattern?
I'm trying to find all if statements where the curly brackets are written in a new line using the following search and replace template:
Search template:
if ($Expr$)
{
$ThenStatements$;
}
else
{
$ElseStatements$;
}
Replace template:
if…

guy.gc
- 3,359
- 2
- 24
- 39
1
vote
1 answer
Inspect a large dataframe for errors arising during merge/combine in python
I hope this is an appropriate question for here. If not, let me know, and I will remove it immediately.
Question:
How can I use python to inspect (visually?) a large dataset for errors that arise during combination?
Background:
I am working with…

Savage Henry
- 1,990
- 3
- 21
- 29
1
vote
1 answer
Resharper: How to hide suppressed warnings in Inspection Results?
I suppressed a Resharper warning in a VB.NET class file (*.vb). As expected, the warning is not highlighted at the border of the text editor.
If I show all Resharper warnings for my project I would expect that the suppressed warning is neither…

Stefan
- 10,010
- 7
- 61
- 117
1
vote
3 answers
Do you require deep packet inspection on a server-only firewall?
I have a server behind a firewall. It runs a web application (Java servlets under Apache Tomcat) and responds only to port 443 (HTTPS). There is no scripting code in the pages served - the forms use HTTP POST to receive the form, process the data…

Huntrods
- 2,561
- 3
- 22
- 29
1
vote
1 answer
R heatmap.2 (gplots) access dendogram data
In R I use heatmap.2 (from the gplots package) to cluster and visualize some data.
I would like to access the column dendrogram (clusters) for further manipulation of my data.
For example:
x = matrix(runif(250), nrow= 50) h =…

lucacerone
- 9,859
- 13
- 52
- 80
1
vote
1 answer
Create custom python inspection in Intellij
Is there a way to create a custom inspection for Python code in Intellij? I need to blacklist a Python function so it throws a warning whenever somebody imports it or types it in.

mlissner
- 17,359
- 18
- 106
- 169