Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: groovy-runtime
    • Labels:
      None

      Description

      We should make it possible to implement any Java interface with method missing:

      class Foo {
          def methodMissing(String name, args) { null }
      }
      
      def f = new Foo()
      def ctx = f as SomeInterface
      

      The proxy would simply delegate from the interface through methodMissing

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Graeme Rocher
          • Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development