public static void generateGetterAndSetter(CtField field, String interceptorAccess) throws NotFoundException, CannotCompileException
  {
    generateGetter(field, interceptorAccess);
    generateSetter(field, interceptorAccess);
  }
public static void generateGetterAndSetter(CtField field, String interceptorAccess) throws NotFoundException, CannotCompileException
  {
    generateGetter(field, interceptorAccess);
    generateSetter(field, interceptorAccess);
  }
public static void generateGetterAndSetter ( CtField field , String interceptorAccess ) throws NotFoundException , CannotCompileException { generateGetter ( field , interceptorAccess ) ; generateSetter ( field , interceptorAccess ) ; }
Generates getter and setter for the field (get/set<FieldName>) and adds them to the declaring class.

@param field
@throws NotFoundException
@throws CannotCompileException
Generates getter and setter for the field ( get / set<FieldName > ) and adds them to the declaring class .