samples/codeinjection/src/org/apidesign/codeinjection/spi/CountDownExtender.java
author Jaroslav Tulach <jtulach@netbeans.org>
Fri Apr 06 10:00:19 2012 +0200
changeset 387 00a0b7267dce
permissions -rw-r--r--
Use fixed update center for NetBeans IDE 7.1.1
     1 package org.apidesign.codeinjection.spi;
     2 
     3 /** Allows to define meaning of "--"
     4  *
     5  * @author Jaroslav Tulach <jtulach@netbeans.org>
     6  * @since 2.0
     7  */
     8 // BEGIN: codeinjection.slot
     9 public interface CountDownExtender {
    10     /** Allows providers to specify that it means to "decrement" a value.
    11      *
    12      * @param value previous value
    13      * @return result of "--" operation in interpretation of this extender
    14      */
    15     public int decrement(int value);
    16 }
    17 // END: codeinjection.slot