Class ReflectionTypeFactory
java.lang.Object
org.infinispan.protostream.annotations.impl.types.ReflectionTypeFactory
- All Implemented Interfaces:
XTypeFactory
Implementation relying on reflection.
- Since:
- 4.3
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate final classprivate final classprivate static final classprivate final classprivate final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
log
-
classCache
-
-
Constructor Details
-
ReflectionTypeFactory
public ReflectionTypeFactory()
-
-
Method Details
-
fromClass
Description copied from interface:XTypeFactoryWraps the given Class in an XClass. Implementation must be idempotent. The returned value must be reference-identical.- Specified by:
fromClassin interfaceXTypeFactory- Parameters:
c- can be null- Returns:
- the wrapper XClass, or null iff the actual argument is null
-
determineCollectionElementType
-