jtulach@303: package org.apidesign.codeinjection.spi; jtulach@303: jtulach@303: /** Allows to define meaning of "--" jtulach@303: * jtulach@303: * @author Jaroslav Tulach jtulach@303: * @since 2.0 jtulach@303: */ jtulach@303: // BEGIN: codeinjection.slot jtulach@303: public interface CountDownExtender { jtulach@303: /** Allows providers to specify that it means to "decrement" a value. jtulach@303: * jtulach@303: * @param value previous value jtulach@303: * @return result of "--" operation in interpretation of this extender jtulach@303: */ jtulach@303: public int decrement(int value); jtulach@303: } jtulach@303: // END: codeinjection.slot