@Override public String getParentPermission() { if (parent != null) { return parent; } else { return PermissionFactory.registerParentPermission(getPermissionName()); } }
@Override public boolean isAuthorized(CommandSender sender) { return PermissionFactory.checkPermission(sender, this); }