code: @Override
      public void prepare(FeatureProvider provider)
      {
          super.prepare(provider);
  
          id = provider.getFeature(Identifiable.class).getId();
          transformable = provider.getFeature(Transformable.class);
          orientable.prepare(provider);
  
          if (provider instanceof PathfindableListener)
          {
              addListener((PathfindableListener) provider);
          }
      }
docs: /*
  Pathfindable