Class PojoMetaMethodSite

All Implemented Interfaces:
CallSite
Direct Known Subclasses:
NumberNumberMetaMethod.NumberNumberCallSite, PojoMetaMethodSite.PojoCachedMethodSite, PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrap, PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrapNoCoerce

public class PojoMetaMethodSite
extends PlainObjectMetaMethodSite
POJO call site meta class - cached method - cached
  • Field Details

    • version

      protected final int version
  • 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
    • 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
    • checkPojoMetaClass

      protected final boolean checkPojoMetaClass()
    • checkCall

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

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

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

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

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

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

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

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

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