Class PublicVisibilityHelper

  • All Implemented Interfaces:
    IVisibilityHelper

    public class PublicVisibilityHelper
    extends java.lang.Object
    implements IVisibilityHelper
    Context independent treatment of visibility computation. A feature is considered to be visible if it is public TODO: consider the declarator
    • Field Summary

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isVisible​(org.eclipse.xtext.common.types.JvmMember member)
      Returns true if the member is visible according to the JvmVisibility and the local context.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PublicVisibilityHelper

        public PublicVisibilityHelper()
    • Method Detail

      • isVisible

        public boolean isVisible​(org.eclipse.xtext.common.types.JvmMember member)
        Description copied from interface: IVisibilityHelper
        Returns true if the member is visible according to the JvmVisibility and the local context.
        Specified by:
        isVisible in interface IVisibilityHelper
        Parameters:
        member - the member that shall be accessed.
        Returns:
        true if the feature can be accessed.