Class MirrorClassFactory
- java.lang.Object
-
- org.infinispan.protostream.annotations.impl.processor.types.MirrorClassFactory
-
- All Implemented Interfaces:
org.infinispan.protostream.annotations.impl.types.XTypeFactory
public final class MirrorClassFactory extends Object implements org.infinispan.protostream.annotations.impl.types.XTypeFactory
Implementation relying primarily on javax.lang.model.type.TypeMirror, but also capable to use reflection.- Since:
- 4.3
- Author:
- anistor@redhat.com
-
-
Constructor Summary
Constructors Constructor Description MirrorClassFactory(ProcessingEnvironment processingEnv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.protostream.annotations.impl.types.XClassfromClass(Class<?> c)org.infinispan.protostream.annotations.impl.types.XClassfromTypeMirror(TypeMirror typeMirror)
-
-
-
Constructor Detail
-
MirrorClassFactory
public MirrorClassFactory(ProcessingEnvironment processingEnv)
-
-
Method Detail
-
fromClass
public org.infinispan.protostream.annotations.impl.types.XClass fromClass(Class<?> c)
- Specified by:
fromClassin interfaceorg.infinispan.protostream.annotations.impl.types.XTypeFactory
-
fromTypeMirror
public org.infinispan.protostream.annotations.impl.types.XClass fromTypeMirror(TypeMirror typeMirror)
- Specified by:
fromTypeMirrorin interfaceorg.infinispan.protostream.annotations.impl.types.XTypeFactory
-
-