I want to validate a parameter sent to a method, it must be an interface type. What to ask?
void (Class interfaceType){ if (thisisnotaninterface){
You have got a Class#isInterface() method that does exactly what you want: -
if (!interfaceType.isInterface()) { throw... }