Class StaticMetaMethodSite

All Implemented Interfaces:
CallSite
Direct Known Subclasses:
StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrap, StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrapNoCoerce

public class StaticMetaMethodSite
extends MetaMethodSite
POJO 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
    • 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)
    • 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
    • callStatic

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

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