Class BeanMetaUtils

java.lang.Object
cn.dinodev.spring.commons.bean.BeanMetaUtils

public class BeanMetaUtils extends Object
Author:
Cody Lu
  • Constructor Details

    • BeanMetaUtils

      public BeanMetaUtils()
  • Method Details

    • forClass

      public static BeanMeta forClass(Class<?> beanClass)
      the bean info of the bean class
      Parameters:
      beanClass -
      Returns:
    • forClassWithJsonView

      public static BeanMetaWithJsonView forClassWithJsonView(Class<?> beanClass, Class<?> activeView)
      the bean info of the bean class, with active json view
      Parameters:
      beanClass -
      activeView -
      Returns:
      See Also:
      • JsonView