@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Incomings
Incoming
declarations.
You can either use:
@Incoming("a")
@Incoming("b")
public void consume(T t);
Or use the Incomings
annotation as container:
@Incomings({
@Incoming("a")
@Incoming("b")
})
public void consume(T t);
NOTE: Experimental, not part of the specification.Copyright © 2018–2021 SmallRye. All rights reserved.