Class IntrospectionUtils


  • public final class IntrospectionUtils
    extends Object
    Utils for introspection and reflection
    • Constructor Detail

      • IntrospectionUtils

        public IntrospectionUtils()
    • Method Detail

      • setProperty

        public static boolean setProperty​(Object o,
                                          String name,
                                          String value)
        Find a method with the right name If found, call the method ( if param is int or boolean we'll convert value to the right type before) - that means you can have setDebug(1).
      • capitalize

        public static String capitalize​(String name)
        Reverse of Introspector.decapitalize
      • clear

        public static void clear()
      • findMethods

        public static Method[] findMethods​(Class<?> c)