Annotation Type Incomings
-
@Retention(RUNTIME) @Target(METHOD) public @interface Incomings
This class is used to allow multipleIncomingdeclarations. You can either use:
Or use the@Incoming("a") @Incoming("b") public void consume(T t);Incomingsannotation as container:
NOTE: Experimental, not part of the specification.@Incomings({ @Incoming("a") @Incoming("b") }) public void consume(T t);