Class AbstractPojoHCAnnRawTypeModel<T,​I extends AbstractPojoHCAnnBootstrapIntrospector>

    • Field Detail

      • xClass

        protected final XClass xClass
    • Method Detail

      • isAbstract

        public boolean isAbstract()
        Returns:
        true if this type is abstract, i.e. it cannot be instantiated as-is (but may be as a subtype). false otherwise.
      • isSubTypeOf

        public final boolean isSubTypeOf​(MappableTypeModel other)
        Parameters:
        other - Another type that should be assessed as a supertype.
        Returns:
        true if this type is a subtype of superTypeCandidate, i.e. if superTypeCandidate is mentioned in MappableTypeModel.ascendingSuperTypes(). false otherwise.
      • typeArgument

        public Optional<PojoTypeModel<?>> typeArgument​(Class<?> rawSuperType,
                                                       int typeParameterIndex)
        Parameters:
        rawSuperType - The supertype to resolve type parameters for
        typeParameterIndex - The index of the type parameter to resolve
        Returns:
        The model for the type argument for the type parameter defined in rawSuperType at index typeParameterIndex, or an empty optional if the current type does not extend rawSuperType. Implementations may decide to return a model of the raw type argument, or to retain generics information.
      • arrayElementType

        public Optional<PojoTypeModel<?>> arrayElementType()
        Returns:
        The model for the array element type, or an empty optional if the current type is not an array type. Implementations may decide to return a model of the raw array element type, or to retain generics information.
      • annotations

        public Stream<Annotation> annotations()
        Returns:
        All annotations on this specific type (non-inherited annotations from supertype are excluded).
      • declaredFieldAccessXPropertiesByName

        protected final Map<String,​XProperty> declaredFieldAccessXPropertiesByName()
      • declaredMethodAccessXPropertiesByName

        protected final Map<String,​List<XProperty>> declaredMethodAccessXPropertiesByName()
      • declaredPropertyGetters

        protected final List<Member> declaredPropertyGetters​(String propertyName)
      • declaredPropertyField

        protected final Member declaredPropertyField​(String propertyName)