- All Implemented Interfaces:
- CapsuleCheck, Check, CoreCheck, SignatureCheck
public class CheckProcAnnotations
extends java.lang.Object
implements CoreCheck
Checks that the PaniniJ annotations on procedures (e.g. @Duck,
@Future, and @Block) are valid.
There are a few ways in which a procedure annotation is invalid. Primarily, a procedure
annotation is invalid if it has an @Duck annotation (either explicitly or implied),
but the return type is unduckable. An instance of `DuckabilityChecks` is used to check the
duckability of the return types of all `@Duck` procedures of a given capsule core or
signature core.