Interface IModelDefinitionTypeInfo

    • Method Detail

      • newTypeInfo

        @NonNull
        static IModelDefinitionTypeInfo newTypeInfo​(@NonNull
                                                    IFlagContainer definition,
                                                    @NonNull
                                                    ITypeResolver typeResolver)
        Construct a new type information object for the provided definition.
        Parameters:
        definition - the definition to provide type information for
        typeResolver - use to resolve type information for composite instances
        Returns:
        the type information
      • getBaseClassName

        @Nullable
        com.squareup.javapoet.ClassName getBaseClassName()
        Get the class type information for the base class of the generated class, .
        Returns:
        the type information or null if no base class is configured
      • getClassName

        @NonNull
        com.squareup.javapoet.ClassName getClassName()
        Gets the class type information for the object definition for which this class is being generated.
        Returns:
        the class's type information