Create new object

Author: LGTM

import python

from Call new, ClassValue cls
where
  cls.getName() = 'MyClass' and
  new.getFunc().pointsTo(cls)
select new

Description

Finds places where we create a new instanceof `MyClass`