public class VisibilityChecker extends Object
Constructor and Description |
---|
VisibilityChecker(ObeysVisibility owner,
com.google.common.collect.ImmutableSet<VisibilityPattern> visibilityPatterns,
com.google.common.collect.ImmutableSet<VisibilityPattern> withinViewPatterns) |
Modifier and Type | Method and Description |
---|---|
boolean |
isVisibleTo(ObeysVisibility viewer) |
public VisibilityChecker(ObeysVisibility owner, com.google.common.collect.ImmutableSet<VisibilityPattern> visibilityPatterns, com.google.common.collect.ImmutableSet<VisibilityPattern> withinViewPatterns)
public boolean isVisibleTo(ObeysVisibility viewer)