- Type Parameters:
T
- type of class
- All Implemented Interfaces:
Serializable
, Supplier<Class<T>>
A serialization-safe reference to a
Class
- Author:
- igor
- See Also:
-
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ClassReference
Constructor
- Parameters:
clazz
- The referenced class
-
Method Details
-
get
- Specified by:
get
in interface Supplier<T>
- Returns:
- the
Class
stored in this reference
-
of
Diamond operator factory
- Parameters:
clazz
- The referenced class
- Returns:
- class reference