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
     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