target abstract method

Spec<T> target(
  1. Class<T> type
)

Targets this spec towards a specific type.

This ensures type safety and explicit binding to a class type.

Implementation

Spec<T> target(Class<T> type);