samples/codeinjection/src/org/apidesign/codeinjection/spi/CountDownExtender.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 30 Oct 2014 21:30:10 +0100
changeset 409 40cabcdcd2be
permissions -rw-r--r--
Updating to NBMs from NetBeans 8.0.1 as some of them are required to run on JDK8
jtulach@303
     1
package org.apidesign.codeinjection.spi;
jtulach@303
     2
jtulach@303
     3
/** Allows to define meaning of "--"
jtulach@303
     4
 *
jtulach@303
     5
 * @author Jaroslav Tulach <jtulach@netbeans.org>
jtulach@303
     6
 * @since 2.0
jtulach@303
     7
 */
jtulach@303
     8
// BEGIN: codeinjection.slot
jtulach@303
     9
public interface CountDownExtender {
jtulach@303
    10
    /** Allows providers to specify that it means to "decrement" a value.
jtulach@303
    11
     *
jtulach@303
    12
     * @param value previous value
jtulach@303
    13
     * @return result of "--" operation in interpretation of this extender
jtulach@303
    14
     */
jtulach@303
    15
    public int decrement(int value);
jtulach@303
    16
}
jtulach@303
    17
// END: codeinjection.slot