Uses of Interface
org.infinispan.protostream.annotations.impl.types.XClass
-
Packages that use XClass Package Description org.infinispan.protostream.annotations.impl Holds the internal representation of Protobuf type metadata defined via annotations and the processors that handle this metadata in order to generate Protobuf schemas and marshallers.org.infinispan.protostream.annotations.impl.types Abstract unified representation of Java language types, to isolate code generation from direct dependencies on the actual type system implementation. -
-
Uses of XClass in org.infinispan.protostream.annotations.impl
Fields in org.infinispan.protostream.annotations.impl declared as XClass Modifier and Type Field Description protected XClass
ProtoTypeMetadata. javaClass
The marshalled Java class.Fields in org.infinispan.protostream.annotations.impl with type parameters of type XClass Modifier and Type Field Description protected Set<XClass>
BaseProtoSchemaGenerator. classes
Initial set of classes.Methods in org.infinispan.protostream.annotations.impl that return XClass Modifier and Type Method Description protected XClass
BaseProtoSchemaGenerator. getAdapterFor(XClass annotatedClass)
XClass
ProtoEnumTypeMetadata. getAnnotatedClass()
XClass
ProtoMessageTypeMetadata. getAnnotatedClass()
XClass
ProtoTypeMetadata. getAnnotatedClass()
At this level we pretend the Java class and the annotated class are one and the same, but subclasses may decide otherwise.XClass
ProtoFieldMetadata. getCollectionImplementation()
protected XClass
ProtoMessageTypeMetadata. getCollectionImplementationFromAnnotation(ProtoField annotation)
XClass
ProtoTypeMetadata. getJavaClass()
XClass
ProtoFieldMetadata. getJavaType()
The Java type.protected XClass
ProtoMessageTypeMetadata. getJavaTypeFromAnnotation(ProtoField annotation)
protected XClass
BaseProtoSchemaGenerator. getTargetClass(XClass annotatedClass)
Get the marshalled class or enum.Methods in org.infinispan.protostream.annotations.impl that return types with arguments of type XClass Modifier and Type Method Description Set<XClass>
BaseProtoSchemaGenerator. getMarshalledClasses()
Methods in org.infinispan.protostream.annotations.impl with parameters of type XClass Modifier and Type Method Description protected XClass
BaseProtoSchemaGenerator. getAdapterFor(XClass annotatedClass)
protected XClass
BaseProtoSchemaGenerator. getTargetClass(XClass annotatedClass)
Get the marshalled class or enum.protected abstract ProtoTypeMetadata
BaseProtoSchemaGenerator. importProtoTypeMetadata(XClass javaType)
Return an imported ProtoTypeMetadata implementation or null if it cannot be imported.protected ProtoTypeMetadata
RuntimeProtoSchemaGenerator. importProtoTypeMetadata(XClass javaType)
Return an imported ProtoTypeMetadata implementation or null if it cannot be imported.protected boolean
BaseProtoSchemaGenerator. isUnknownClass(XClass c)
protected ProtoTypeMetadata
BaseProtoSchemaGenerator. makeEnumTypeMetadata(XClass javaType)
protected ProtoTypeMetadata
BaseProtoSchemaGenerator. makeMessageTypeMetadata(XClass javaType)
protected ProtoTypeMetadata
BaseProtoSchemaGenerator. makeTypeMetadata(XClass javaType)
protected ProtoTypeMetadata
BaseProtoSchemaGenerator. scanAnnotations(XClass javaType)
Constructors in org.infinispan.protostream.annotations.impl with parameters of type XClass Constructor Description ImportedProtoTypeMetadata(GenericDescriptor descriptor, BaseMarshaller<?> marshaller, XClass javaClass)
ProtoEnumTypeMetadata(XClass annotatedEnumClass, XClass enumClass)
ProtoMessageTypeMetadata(BaseProtoSchemaGenerator protoSchemaGenerator, XClass annotatedClass, XClass javaClass)
ProtoTypeMetadata(String name, XClass javaClass)
Constructor parameters in org.infinispan.protostream.annotations.impl with type arguments of type XClass Constructor Description BaseProtoSchemaGenerator(XTypeFactory typeFactory, SerializationContext serializationContext, String generator, String fileName, String packageName, Set<XClass> classes, boolean autoImportClasses)
RuntimeProtoSchemaGenerator(XTypeFactory typeFactory, SerializationContext serializationContext, String generator, String fileName, String packageName, Set<XClass> classes, boolean autoImportClasses, ClassLoader classLoader)
-
Uses of XClass in org.infinispan.protostream.annotations.impl.types
Methods in org.infinispan.protostream.annotations.impl.types that return XClass Modifier and Type Method Description XClass
XMethod. determineOptionalReturnType()
Determine the type argument of Optional, if the return is Optional, otherwise just return the return type.default XClass
XMember. determineRepeatedElementType()
Determine element type of array or Collection.XClass
ReflectionTypeFactory. fromClass(Class<?> c)
XClass
XTypeFactory. fromClass(Class<?> clazz)
Wraps the given Class in an XClass.XClass
XClass. getComponentType()
Array component type, for arrays only.XClass
XEnumConstant. getDeclaringClass()
XClass
XMember. getDeclaringClass()
XClass
XClass. getEnclosingClass()
XClass[]
XClass. getInterfaces()
Directly implemented interfaces.XClass[]
XExecutable. getParameterTypes()
XClass
XMethod. getReturnType()
XClass
XClass. getSuperclass()
XClass
XField. getType()
Methods in org.infinispan.protostream.annotations.impl.types with parameters of type XClass Modifier and Type Method Description XConstructor
XClass. getDeclaredConstructor(XClass... argTypes)
XMethod
XClass. getMethod(String methodName, XClass... argTypes)
boolean
XClass. isAssignableTo(XClass c)
-