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 XClassProtoTypeMetadata. javaClassThe 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. classesInitial set of classes.Methods in org.infinispan.protostream.annotations.impl that return XClass Modifier and Type Method Description protected XClassBaseProtoSchemaGenerator. getAdapterFor(XClass annotatedClass)XClassProtoEnumTypeMetadata. getAnnotatedClass()XClassProtoMessageTypeMetadata. getAnnotatedClass()XClassProtoTypeMetadata. getAnnotatedClass()At this level we pretend the Java class and the annotated class are one and the same, but subclasses may decide otherwise.XClassProtoFieldMetadata. getCollectionImplementation()protected XClassProtoMessageTypeMetadata. getCollectionImplementationFromAnnotation(ProtoField annotation)XClassProtoTypeMetadata. getJavaClass()XClassProtoFieldMetadata. getJavaType()The Java type.protected XClassProtoMessageTypeMetadata. getJavaTypeFromAnnotation(ProtoField annotation)protected XClassBaseProtoSchemaGenerator. 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 XClassBaseProtoSchemaGenerator. getAdapterFor(XClass annotatedClass)protected XClassBaseProtoSchemaGenerator. getTargetClass(XClass annotatedClass)Get the marshalled class or enum.protected abstract ProtoTypeMetadataBaseProtoSchemaGenerator. importProtoTypeMetadata(XClass javaType)Return an imported ProtoTypeMetadata implementation or null if it cannot be imported.protected ProtoTypeMetadataRuntimeProtoSchemaGenerator. importProtoTypeMetadata(XClass javaType)Return an imported ProtoTypeMetadata implementation or null if it cannot be imported.protected booleanBaseProtoSchemaGenerator. isUnknownClass(XClass c)protected ProtoTypeMetadataBaseProtoSchemaGenerator. makeEnumTypeMetadata(XClass javaType)protected ProtoTypeMetadataBaseProtoSchemaGenerator. makeMessageTypeMetadata(XClass javaType)protected ProtoTypeMetadataBaseProtoSchemaGenerator. makeTypeMetadata(XClass javaType)protected ProtoTypeMetadataBaseProtoSchemaGenerator. 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 XClassXMethod. determineOptionalReturnType()Determine the type argument of Optional, if the return is Optional, otherwise just return the return type.default XClassXMember. determineRepeatedElementType()Determine element type of array or Collection.XClassReflectionTypeFactory. fromClass(Class<?> c)XClassXTypeFactory. fromClass(Class<?> clazz)Wraps the given Class in an XClass.XClassXClass. getComponentType()Array component type, for arrays only.XClassXEnumConstant. getDeclaringClass()XClassXMember. getDeclaringClass()XClassXClass. getEnclosingClass()XClass[]XClass. getInterfaces()Directly implemented interfaces.XClass[]XExecutable. getParameterTypes()XClassXMethod. getReturnType()XClassXClass. getSuperclass()XClassXField. getType()Methods in org.infinispan.protostream.annotations.impl.types with parameters of type XClass Modifier and Type Method Description XConstructorXClass. getDeclaredConstructor(XClass... argTypes)XMethodXClass. getMethod(String methodName, XClass... argTypes)booleanXClass. isAssignableTo(XClass c)
-