//# 0 errors, 19 messages
//#
package net.sourceforge.pebble.confirmation;
    //#captchaservice.java:1:1: class: net.sourceforge.pebble.confirmation.CaptchaService

import com.octo.captcha.service.image.DefaultManageableImageCaptchaService;
import com.octo.captcha.service.image.ImageCaptchaService;

/**
 * Singleton wrapper for the JCaptcha services.
 *
 * @author    Simon Brown
 */
public class CaptchaService {
    //#captchaservice.java:11: method: void net.sourceforge.pebble.confirmation.CaptchaService.net.sourceforge.pebble.confirmation.CaptchaService()
    //#captchaservice.java:11: end of method: void net.sourceforge.pebble.confirmation.CaptchaService.net.sourceforge.pebble.confirmation.CaptchaService()

  private static final ImageCaptchaService instance = new DefaultManageableImageCaptchaService();
    //#captchaservice.java:13: method: net.sourceforge.pebble.confirmation.CaptchaService.net.sourceforge.pebble.confirmation.CaptchaService__static_init
    //#captchaservice.java:13: Warning: method not available
    //#    -- call on void com.octo.captcha.service.image.DefaultManageableImageCaptchaService()
    //#    severity: INFORMATIONAL
    //#    class: net.sourceforge.pebble.confirmation.CaptchaService
    //#    method: net.sourceforge.pebble.confirmation.CaptchaService__static_init
    //#    unanalyzed callee: void com.octo.captcha.service.image.DefaultManageableImageCaptchaService()
    //#output(net.sourceforge.pebble.confirmation.CaptchaService__static_init): __Descendant_Table[net/sourceforge/pebble/confirmation/CaptchaService]
    //#output(net.sourceforge.pebble.confirmation.CaptchaService__static_init): instance
    //#output(net.sourceforge.pebble.confirmation.CaptchaService__static_init): new DefaultManageableImageCaptchaService(CaptchaService__static_init#1) num objects
    //#new obj(net.sourceforge.pebble.confirmation.CaptchaService__static_init): new DefaultManageableImageCaptchaService(CaptchaService__static_init#1)
    //#post(net.sourceforge.pebble.confirmation.CaptchaService__static_init): __Descendant_Table[net/sourceforge/pebble/confirmation/CaptchaService] == &__Dispatch_Table
    //#post(net.sourceforge.pebble.confirmation.CaptchaService__static_init): instance == &new DefaultManageableImageCaptchaService(CaptchaService__static_init#1)
    //#post(net.sourceforge.pebble.confirmation.CaptchaService__static_init): new DefaultManageableImageCaptchaService(CaptchaService__static_init#1) num objects == 1
    //#captchaservice.java:13: end of method: net.sourceforge.pebble.confirmation.CaptchaService.net.sourceforge.pebble.confirmation.CaptchaService__static_init

  /**
   * Gets the singleton ImageCaptchaService instance.
   *
   * @return  an ImageCaptchaService instance
   */
  public static ImageCaptchaService getInstance(){
      return instance;
    //#captchaservice.java:21: method: ImageCaptchaService net.sourceforge.pebble.confirmation.CaptchaService.getInstance()
    //#input(ImageCaptchaService getInstance()): instance
    //#output(ImageCaptchaService getInstance()): return_value
    //#post(ImageCaptchaService getInstance()): return_value == &new DefaultManageableImageCaptchaService(CaptchaService__static_init#1)
    //#captchaservice.java:21: end of method: ImageCaptchaService net.sourceforge.pebble.confirmation.CaptchaService.getInstance()
  }

}
    //#captchaservice.java:: end of class: net.sourceforge.pebble.confirmation.CaptchaService
