← 输入框|github.com|刷新
Skip to content

Consolidate generics reasoning dependencies #24

Open

Description

@wiedenm

At the moment, we make use of a fork of Apache Commons TypeUtils, a fork of GenTyRef, and have a dependency on Google Guava (TypeToken) to enable the generics handling involved in Op matching. The ongoing work on #2 will probably add yet another dependency, GeAnTyRef.
GeAnTyRef may have the potential to replace one or more of the previously mentioned dependencies (e.g., it has an own TypeToken), or to even get rid of all of the generics-related functionality of org.scijava.util.Types. It deserves some more investigation to see if it meets all our requirements.

Activity

  1. ctrueden commented on Apr 29, 2021

    @ctrueden
    Member

    I'm thinking we'll need to perform some static code analysis to find which methods of the various libraries are actually being used. Then determine which of the libraries have each of those methods (and whether they work correctly for our purposes). We can then analyze how to minimize the dependency footprint. Relatedly, we might end up looking at whether there are bug-fixes we could submit upstream to any of these projects, to facilitate this minimization.

  2. added this to the 1.0.0 milestone on Apr 29, 2021
  3. gselzer commented on May 13, 2021

    @gselzer
    Member

    Time commitment: 2 weeks

  4. modified the milestones: 1.0.0, unscheduled on Sep 26, 2023
  5. gselzer commented on Sep 26, 2023

    @gselzer
    Member

    Right now, this would just be too big of an undertaking to pursue. I think that it would be nice to clean this up, so I'll move it into unscheduled for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions