Class CommandInfo.Beans

  • Enclosing class:
    CommandInfo

    private static final class CommandInfo.Beans
    extends java.lang.Object
    Helper class to invoke Beans.instantiate reflectively or the equivalent with core reflection when module java.desktop is not readable.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static java.lang.reflect.Method instantiateMethod  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Beans()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static java.lang.Object instantiate​(java.lang.ClassLoader loader, java.lang.String cn)
      Equivalent to invoking java.beans.Beans.instantiate(loader, cn)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • instantiateMethod

        static final java.lang.reflect.Method instantiateMethod
    • Constructor Detail

      • Beans

        private Beans()
    • Method Detail

      • instantiate

        static java.lang.Object instantiate​(java.lang.ClassLoader loader,
                                            java.lang.String cn)
                                     throws java.io.IOException,
                                            java.lang.ClassNotFoundException
        Equivalent to invoking java.beans.Beans.instantiate(loader, cn)
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException