patchGNU Octave - Patches: patch #9085, wish: function constructors for...

 
 

patch #9085: wish: function constructors for java objects/classnames.

Submitter:  Ernst Reissner <ernstreissner>
Submitted:  Mon 15 Aug 2016 02:07:27 PM UTC
   
 
Category:  Core : new feature Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 07 Mar 2019 01:52:49 AM UTC, comment #4: 

Java constructors should be included in the same list as methods for compatibility with Matlab.

See the Matlab help page (https://www.mathworks.com/help/matlab/ref/methods.html) for an example that shows that 'methods java.lang.String' returns 'String' as one of the method names.

Mike Miller <mtmiller>
Group Member
Mon 15 Aug 2016 03:48:44 PM UTC, comment #3: 

Sorry, please ignore the previous redesign patch.

(file #38218)

Ernst Reissner <ernstreissner>
Mon 15 Aug 2016 03:27:17 PM UTC, comment #2: 

after having added some functionality,
above all method getConstructors(Class),
extracted common code from
getConstructors(Class), , getMethods(Class) and getFields(Class)
into new methods appendModifiers and appendParamsThrwbs.


(file #38217)

Ernst Reissner <ernstreissner>
Mon 15 Aug 2016 02:10:56 PM UTC, comment #1: 

After the problem, here the solution.
I made some minor improvements in sibling methods getMethods and getFields also.

(file #38213)

Ernst Reissner <ernstreissner>
Mon 15 Aug 2016 02:07:27 PM UTC, original submission:  

As functions fieldnames and methods apply to java objects
and to java class names
and return a cell array of fields and methods,
an according functionality for constructors is desirable also .

Ernst Reissner <ernstreissner>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #38213:  patch9085.patch added by ernstreissner (12KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by ernstreissner (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-07 mtmiller StatusNone Wont Do
        Open/ClosedOpen Closed
    2016-08-23 siko1056 CategoryNone Core : new feature
    2016-08-15 ernstreissner Attached File- Added patch9085redesignB.patch, #38218
    2016-08-15 ernstreissner Attached File- Added patch9085redesign.patch, #38217
    2016-08-15 ernstreissner Attached File- Added patch9085.patch, #38213

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code