public class VisibilityTester extends PropertyTester
{
public boolean test(Object receiver, String property, Object[] args, Object expectedValue)
{
CodeFilesEditor fragment= (CodeFilesEditor)receiver;
if ("canRefactor".equals(property))
{
HaxeTree node = fragment.getCurrentNode();
return testCanRefactor(node);
}
return false;
}