Stub visibility checker

This commit is contained in:
Andrey Breslav
2012-01-17 19:03:59 +04:00
parent fb463da84b
commit edb324860a
@@ -0,0 +1,19 @@
package org.jetbrains.jet.lang.resolve;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jet.lang.descriptors.DeclarationDescriptor;
/**
* @author abreslav
*/
public class JetVisibilityChecker {
/**
* @param locationOwner owner of the call site
* @param subject the descriptor whose visibility is being checked
* @return <code>true</code> iff subject is visible locationOwner
*/
public boolean isVisible(@NotNull DeclarationDescriptor locationOwner, @NotNull DeclarationDescriptor subject) {
// TODO : stub implementation
return true;
}
}