@NonNullByDefault public class ContextualVisibilityHelper extends java.lang.Object implements IVisibilityHelper
ALL
Constructor and Description |
---|
ContextualVisibilityHelper(IVisibilityHelper parent,
LightweightTypeReference contextType) |
ContextualVisibilityHelper(IVisibilityHelper parent,
LightweightTypeReference contextType,
java.lang.String packageName) |
ContextualVisibilityHelper(LightweightTypeReference contextType) |
Modifier and Type | Method and Description |
---|---|
LightweightTypeReference |
getContextType() |
JvmType |
getRawContextType() |
boolean |
isVisible(JvmMember member)
Returns
true if the member is visible according to the JvmVisibility and the local context. |
public ContextualVisibilityHelper(IVisibilityHelper parent, LightweightTypeReference contextType)
public ContextualVisibilityHelper(IVisibilityHelper parent, LightweightTypeReference contextType, java.lang.String packageName)
public ContextualVisibilityHelper(LightweightTypeReference contextType)
public LightweightTypeReference getContextType()
public JvmType getRawContextType()
public boolean isVisible(JvmMember member)
IVisibilityHelper
true
if the member is visible according to the JvmVisibility
and the local context.isVisible
in interface IVisibilityHelper
member
- the member that shall be accessed.true
if the feature can be accessed.