author | Jaroslav Tulach <jtulach@netbeans.org> |
Sun, 06 Oct 2013 22:05:14 +0200 | |
changeset 407 | e1439046d96e |
permissions | -rw-r--r-- |
1 package org.apidesign.codeinjection.spi;
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