Class CrossReferenceFinder


  • public class CrossReferenceFinder
    extends Object
    Utility method to find cross-reference.
    Restriction:
    This class is not intended to be sub-classed by clients.
    Restriction:
    This class is not intended to be instantiated by clients.
    • Method Detail

      • findCrossReference

        public static org.eclipse.emf.ecore.EReference findCrossReference​(org.eclipse.emf.ecore.EObject owner,
                                                                          org.eclipse.emf.ecore.EObject target)
        Find cross-reference from target owner to target.
        Parameters:
        owner - target owner to find reference from, cannot be null
        target - target to find reference to, cannot be null
        Returns:
        reference, never null
        Throws:
        IllegalStateException - if cannot find cross-reference