Strange behaviour - parameter matching of plug-ins
  • JBuijsJBuijs
    Posts: 389
    Part of a conversation between Andrea Burattin and Boudewijn van Dongen in which Andrea asked:

    I have the AuthoredType PLGProcessCollection that extends
    Vector<PLGProcess>. When I use it, the action tab matches also the
    second parameter of Declare miner, that is just a Vector.
    Joos Buijs
    Forum Admin
  • JBuijsJBuijs
    Posts: 389
    To which Boudewijn replied:

    This not strange behavior at all. You cannot use types with generics (i.e. <?>) as input for plugins. The reason for this is a limitation in Java that generics are only available at build time, not at runtime. ProM is simply unable to verify if the right generics are set, as this information is removed in class files.
    Joos Buijs
    Forum Admin

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Tagged