Class PogoMetaMethodSite

All Implemented Interfaces:
CallSite
Direct Known Subclasses:
PogoMetaMethodSite.PogoCachedMethodSite, PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrap, PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrapNoCoerce

public class PogoMetaMethodSite
extends PlainObjectMetaMethodSite
POGO call site meta class - cached method - cached
  • Constructor Details

  • Method Details

    • invoke

      public java.lang.Object invoke​(java.lang.Object receiver, java.lang.Object[] args) throws java.lang.Throwable
      Throws:
      java.lang.Throwable
    • callCurrent

      public java.lang.Object callCurrent​(GroovyObject receiver, java.lang.Object[] args) throws java.lang.Throwable
      Specified by:
      callCurrent in interface CallSite
      Overrides:
      callCurrent in class AbstractCallSite
      Throws:
      java.lang.Throwable
    • call

      public java.lang.Object call​(java.lang.Object receiver, java.lang.Object[] args) throws java.lang.Throwable
      Specified by:
      call in interface CallSite
      Overrides:
      call in class AbstractCallSite
      Throws:
      java.lang.Throwable
    • checkCall

      protected boolean checkCall​(java.lang.Object receiver, java.lang.Object[] args)
    • checkCall

      protected boolean checkCall​(java.lang.Object receiver)
    • checkCall

      protected boolean checkCall​(java.lang.Object receiver, java.lang.Object arg1)
    • checkCall

      protected boolean checkCall​(java.lang.Object receiver, java.lang.Object arg1, java.lang.Object arg2)
    • checkCall

      protected boolean checkCall​(java.lang.Object receiver, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
    • checkCall

      protected boolean checkCall​(java.lang.Object receiver, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4)
    • createPogoMetaMethodSite

      public static CallSite createPogoMetaMethodSite​(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, java.lang.Class[] params, java.lang.Object[] args)
    • createCachedMethodSite

      public static CallSite createCachedMethodSite​(CallSite site, MetaClassImpl metaClass, CachedMethod metaMethod, java.lang.Class[] params, java.lang.Object[] args)