Class IntrospectionSupport

java.lang.Object
org.apache.activemq.protobuf.compiler.IntrospectionSupport

public final class IntrospectionSupport extends Object
Support class used to do introspection/reflection based setting and getting of properties on a Java Bean.
Author:
Hiram Chirino
  • Method Details

    • getProperties

      public static boolean getProperties(Object target, Map props, String optionPrefix)
    • setProperties

      public static boolean setProperties(Object target, Map<String,?> props, String optionPrefix)
    • extractProperties

      public static Map<String,Object> extractProperties(Map props, String optionPrefix)
    • setProperties

      public static boolean setProperties(Object target, Map props)
    • setProperty

      public static boolean setProperty(Object target, String name, Object value)
    • toString

      public static String toString(Object target)
    • toString

      public static String toString(Object target, Class stopClass)
    • appendToString

      protected static void appendToString(StringBuffer buffer, Object value)
    • simpleName

      public static String simpleName(Class clazz)