Class BaseFactory

java.lang.Object
io.github.mmm.code.base.BaseFactory
All Implemented Interfaces:
io.github.mmm.code.api.CodeFactory

public abstract class BaseFactory extends Object implements io.github.mmm.code.api.CodeFactory
Base implementation of CodeFactory.
Since:
1.0.0
  • Constructor Details

    • BaseFactory

      public BaseFactory()
  • Method Details

    • createExpression

      public abstract BaseExpression createExpression(Object value, boolean primitive)
      Specified by:
      createExpression in interface io.github.mmm.code.api.CodeFactory
    • createField

      public BaseField createField(io.github.mmm.code.api.member.CodeFields parent, String name, Field reflectiveObject)
      Specified by:
      createField in interface io.github.mmm.code.api.CodeFactory
    • createMethod

      public BaseMethod createMethod(io.github.mmm.code.api.member.CodeMethods parent, String name, Method reflectiveObject)
      Specified by:
      createMethod in interface io.github.mmm.code.api.CodeFactory
    • createGetter

      public BaseMethod createGetter(io.github.mmm.code.api.type.CodeType type, String propertyName, io.github.mmm.code.api.type.CodeGenericType propertyType, boolean implement, String... doc)
      Specified by:
      createGetter in interface io.github.mmm.code.api.CodeFactory
    • createSetter

      public BaseMethod createSetter(io.github.mmm.code.api.type.CodeType type, String propertyName, io.github.mmm.code.api.type.CodeGenericType propertyType, boolean implement, String... doc)
      Specified by:
      createSetter in interface io.github.mmm.code.api.CodeFactory