0

So say need to pass in the class that represents LinkedList<Path>: java.lang.Class<java.util.LinkedList<java.nio.file.Path>>

without creating one and then using .getClass() ?

FindBugs is bitching at me that this is the only reason I create the object, and the IDE is telling me I can't pass a value of a parameterized type.

Thanks!

davesbrain
  • 606
  • 7
  • 12

0 Answers0