Class PublicVisibilityHelper
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.util.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
-
Fields inherited from interface org.eclipse.xtext.xbase.typesystem.util.IVisibilityHelper
ALL
-
-
Constructor Summary
Constructors Constructor Description PublicVisibilityHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisVisible(org.eclipse.xtext.common.types.JvmMember member)Returnstrueif the member is visible according to theJvmVisibilityand the local context.
-
-
-
Method Detail
-
isVisible
public boolean isVisible(org.eclipse.xtext.common.types.JvmMember member)
Description copied from interface:IVisibilityHelperReturnstrueif the member is visible according to theJvmVisibilityand the local context.- Specified by:
isVisiblein interfaceIVisibilityHelper- Parameters:
member- the member that shall be accessed.- Returns:
trueif the feature can be accessed.
-
-