samples/codeinjection/src/org/apidesign/codeinjection/spi/CountDownExtender.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 03 Apr 2020 16:32:36 +0200
changeset 416 9ed8788a1a4e
permissions -rw-r--r--
Using HTTPS to download the libraries
     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