You can create a link between a requirement in the Requirements Explorer view and a Java™ domain element in the Package Explorer view.
When you switch to the Java linkable domain, the Package Explorer and file editor views open automatically. You can create links between a requirement and the following Java domain elements by dragging the requirement: