7

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().

Alex Shesterov
  • 26,085
  • 12
  • 82
  • 103
jody abbot
  • 303
  • 2
  • 15

1 Answers1

7

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.

Alex Shesterov
  • 26,085
  • 12
  • 82
  • 103