Class TypeReference<T>

java.lang.Object
aQute.lib.converter.TypeReference<T>
All Implemented Interfaces:
Type

public class TypeReference<T> extends Object implements Type
Reference to a type. This class should be used as an extension of an inner class. E.g.
 new TypeReference<List>() {}
 
The type then gets encoded in the generic super class of the instance.
  • Constructor Details

    • TypeReference

      protected TypeReference()
  • Method Details