Class ReflectConstructorSpec


  • public class ReflectConstructorSpec
    extends java.lang.Object
    a spec holding a constructor, it's arguments and information, if the constructor can instantiate objects.
    • Constructor Detail

      • ReflectConstructorSpec

        public ReflectConstructorSpec​(ReflectConstructor constructor,
                                      java.lang.Object[] args)
    • Method Detail

      • newInstance

        public java.lang.Object newInstance()
        creates a new instance.
        Returns:
        the newly created instance.
      • canBeInstantiated

        public TernaryBool canBeInstantiated()
        returns true if an instance can be instantiated with the constructor, otherwise false.