public class ContextualVisibilityHelper extends java.lang.Object implements IVisibilityHelper
ALL| Constructor and Description |
|---|
ContextualVisibilityHelper(IVisibilityHelper parent,
org.eclipse.xtext.common.types.JvmType rawContextType) |
ContextualVisibilityHelper(IVisibilityHelper parent,
org.eclipse.xtext.common.types.JvmType rawContextType,
java.lang.String packageName) |
ContextualVisibilityHelper(IVisibilityHelper parent,
LightweightTypeReference contextType) |
ContextualVisibilityHelper(IVisibilityHelper parent,
LightweightTypeReference contextType,
java.lang.String packageName) |
ContextualVisibilityHelper(IVisibilityHelper parent,
java.lang.String packageName) |
ContextualVisibilityHelper(LightweightTypeReference contextType) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<java.lang.String> |
computeSuperTypeNames() |
java.lang.String |
getPackageName() |
org.eclipse.xtext.common.types.JvmType |
getRawContextType() |
boolean |
isVisible(org.eclipse.xtext.common.types.JvmMember member)
Returns
true if the member is visible according to the JvmVisibility and the local context. |
public ContextualVisibilityHelper(IVisibilityHelper parent, java.lang.String packageName)
public ContextualVisibilityHelper(IVisibilityHelper parent, LightweightTypeReference contextType)
public ContextualVisibilityHelper(IVisibilityHelper parent, LightweightTypeReference contextType, java.lang.String packageName)
public ContextualVisibilityHelper(IVisibilityHelper parent, org.eclipse.xtext.common.types.JvmType rawContextType, java.lang.String packageName)
public ContextualVisibilityHelper(IVisibilityHelper parent, org.eclipse.xtext.common.types.JvmType rawContextType)
public ContextualVisibilityHelper(LightweightTypeReference contextType)
public org.eclipse.xtext.common.types.JvmType getRawContextType()
public boolean isVisible(org.eclipse.xtext.common.types.JvmMember member)
IVisibilityHelpertrue if the member is visible according to the JvmVisibility and the local context.isVisible in interface IVisibilityHelpermember - the member that shall be accessed.true if the feature can be accessed.protected java.util.Set<java.lang.String> computeSuperTypeNames()
public java.lang.String getPackageName()