/**
  * * checks whether a method is init or not and if its init then its argument length should be
  * zero
  *
  * @param mn methodnode for obtaining name from a methodnode
  * @return true
  */
 private boolean checkMethodNameAndArgumentLength(MethodNode mn) {
   return (InstrumentUtil.validateMethodName(mn.name, INIT_METHOD)
       && Type.getArgumentTypes(mn.desc).length == 0);
 }
 /**
  * * it checks for main,reduce,clinit methods in instructions.
  *
  * @param name, name of the method to check
  * @param mainMethod, main Method instruction in ASM
  * @param reduceMethod, reduce method instruction in ASM
  * @param clinitMethod, clinit method instruction in ASM
  * @return
  */
 private boolean validateMapReduceClinitMethod(
     String name, String mainMethod, String reduceMethod, String clinitMethod) {
   return InstrumentUtil.validateMethodName(name, mainMethod)
       || InstrumentUtil.validateMethodName(name, reduceMethod)
       || InstrumentUtil.validateMethodName(name, clinitMethod);
 }