Class ConstructorDescriptor


  • public final class ConstructorDescriptor
    extends Object
    Constructor descriptor.
    Since:
    0.2
    To do:
    #229:90min Generalize ConstructorDescriptor to be used in all cases. Currently we have a workarond for classes in `org.eolang` package. See toString() method. As you can see, we have a check for `org/eolang` in the descriptor. We should remove this crutch and make it work for all cases.
    • Constructor Detail

      • ConstructorDescriptor

        public ConstructorDescriptor​(List<AstNode> args)
        Constructor.
        Parameters:
        args - Constructor arguments.
      • ConstructorDescriptor

        public ConstructorDescriptor​(String descriptor,
                                     List<AstNode> arguments)
        Constructor.
        Parameters:
        descriptor - Descriptor.
        arguments - Constructor arguments.