I work with soot library.
In different examples I see .v() method, for example Jimple.v(), scene.v(), ... .
Now I want ask what does it mean? Specially in Jimple.v().
I work with soot library.
In different examples I see .v() method, for example Jimple.v(), scene.v(), ... .
Now I want ask what does it mean? Specially in Jimple.v().
It is the singleton pattern implementation in soot.
E.g. Jimple.v() returns the global single instance of Jimple class. Same for the Scene class.
Reference: soot / Creating a class from scratch.