@Override
    public int getWeight() {
      if (getDelegate() instanceof NodeDescriptor) {
        return ((NodeDescriptor<?>)getDelegate()).getWeight();
      }
      return super.getWeight();
    }
@Override
    public int getWeight()