Class SimpleAssignmentStrategy.AnalysisContext.NotOwnedFilter

    • Field Detail

      • m_owners

        protected Ownership m_owners
        The ownership
    • Constructor Detail

      • NotOwnedFilter

        public NotOwnedFilter​(Ownership owners)
        Construct a NotOwnedFilter with the specified ownership.
        Parameters:
        owners - the ownership
    • Method Detail

      • getOwnership

        public Ownership getOwnership()
        Return the ownership used to evaluate member safety.
        Returns:
        the ownership
      • evaluate

        public boolean evaluate​(Object o)
        Apply the test to the input argument.
        Specified by:
        evaluate in interface Filter
        Parameters:
        o - the input argument to evaluate
        Returns:
        true if the input argument matches the filter, otherwise false