Files
codeql/java/ql/test/library-tests/constructors/ConstructorCalls.ql
2018-08-30 10:48:05 +01: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