Class AnyClassConstructor

  • All Implemented Interfaces:
    IObjectConstructor

    public class AnyClassConstructor
    extends java.lang.Object
    implements IObjectConstructor
    This object constructor uses reflection to create instances of any given class.
    Author:
    Irmen de Jong (irmen@razorvine.net)
    • Constructor Summary

      Constructors 
      Constructor Description
      AnyClassConstructor​(java.lang.Class<?> type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object construct​(java.lang.Object[] args)
      Create an object.
      • Methods inherited from class java.lang.Object

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

      • AnyClassConstructor

        public AnyClassConstructor​(java.lang.Class<?> type)
    • Method Detail

      • construct

        public java.lang.Object construct​(java.lang.Object[] args)
        Description copied from interface: IObjectConstructor
        Create an object. Use the given args as parameters for the constructor.
        Specified by:
        construct in interface IObjectConstructor