//interface IGuard

{} // ////interface Guard

extends IGuard

{} // //class GuardImpl implements IGuard {} // //public class C { // // private boolean m1(Class> guardClz) throws Exception { return false;} // private boolean m2(Class>[] guardClz) throws Exception { return false;} // // public static void main(String []argv) throws Exception { // GuardImpl g = new GuardImpl(); // C newC = new C(); // newC.m1(g.getClass()); //// newC.m2(new Class[]{g.getClass()}); // } // //} interface IGuard

{} interface Guard

extends IGuard

{} public class C { private boolean checkGuards(Class>[] guardClz) throws Exception { return false;} public static void main(String []argv) { Guard g = new Guard(); new C().checkGuards(g.getClass());//Guard.class); } }