| author | Jaroslav Tulach <jtulach@netbeans.org> |
| Fri Aug 27 14:06:39 2010 +0200 | |
| changeset 365 | 0b7ec6ef8a72 |
| 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