public <T> T search(DeploymentUnit unit, Class<T> expectedType) { return search(unit, checkExpectedType(expectedType), expectedType); } }
public <T> T search(DeploymentUnit unit, Class<T> expectedType) { return search(unit, AbstractAttachmentLocatorType.checkExpectedType(expectedType), expectedType); }