Compile-time resource link resolution for JAX-RS