Files
codeql/java/ql/test/library-tests/constructors/ConstructorCalls.ql
2018-10-11 11:31:37 +02:00

12 lines
271 B
Plaintext

/**
* @name ConstructorCalls
* @description Test the difference between ClassInstanceExpr and ConstructorCall
*/
import default
// There should be three constructor calls, including the class instance
// expression 'new A(...)'
from ConstructorCall call
select call