Class ContextualVisibilityHelper

    • Constructor Detail

      • ContextualVisibilityHelper

        public ContextualVisibilityHelper​(IVisibilityHelper parent,
                                          java.lang.String packageName)
      • ContextualVisibilityHelper

        public ContextualVisibilityHelper​(IVisibilityHelper parent,
                                          org.eclipse.xtext.common.types.JvmType rawContextType,
                                          java.lang.String packageName)
      • ContextualVisibilityHelper

        public ContextualVisibilityHelper​(IVisibilityHelper parent,
                                          org.eclipse.xtext.common.types.JvmType rawContextType)
    • Method Detail

      • getRawContextType

        public org.eclipse.xtext.common.types.JvmType getRawContextType()
      • 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.
      • computeSuperTypeNames

        protected java.util.Set<java.lang.String> computeSuperTypeNames()
      • getPackageName

        public java.lang.String getPackageName()