jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • groovy
  • GROOVY-2768

Add sender of method calls as a parameter to the methods of MetaClass

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: 3.0
  • Component/s: None
  • Labels:
    None

Description

MetaClass extends the MOP interface with methods which have a senderClass as their first parameter. Unfortunately, the param does not refer to the sender of the original method call but is in most cases identical to the receiver's class.

Knowing the sender of a method call would allow interesting reflective program structures like subjective programming with a three-dimensional message dispatch. A method can not only be overwritten by the receiver with polymorphism but also by the sender. Refer to http://citeseer.ist.psu.edu/smith96simple.html for more details.

Issue Links

depends upon

Task - A task that needs to be done. GROOVY-2503 MOP 2.0 design inflluencing issues

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Arvid Heise
Vote (0)
Watch (0)

Dates

  • Created:
    20/Apr/08 6:36 PM
    Updated:
    13/Oct/08 7:58 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.