Class FunctionConverter

java.lang.Object
org.jline.demo.FunctionConverter
All Implemented Interfaces:
org.apache.felix.service.command.Converter

public class FunctionConverter extends Object implements org.apache.felix.service.command.Converter
  • Constructor Details

    • FunctionConverter

      public FunctionConverter()
  • Method Details

    • convert

      public Object convert(Class<?> desiredType, Object in) throws Exception
      Specified by:
      convert in interface org.apache.felix.service.command.Converter
      Throws:
      Exception
    • format

      public CharSequence format(Object target, int level, org.apache.felix.service.command.Converter escape) throws Exception
      Specified by:
      format in interface org.apache.felix.service.command.Converter
      Throws:
      Exception
    • isFunctional

      public static boolean isFunctional(Class<?> clazz)
    • isStatic

      public static boolean isStatic(Method method)
    • isObjectMethod

      public static boolean isObjectMethod(Method method)