Class MetaClassCallSites

java.lang.Object
org.codehaus.groovy.runtime.callsite.MetaClassCallSites

public final class MetaClassCallSites extends Object
Builds classic (non-indy) call sites for a MetaClassImpl.

Logic formerly lived as create*CallSite methods on MetaClassImpl / ExpandoMetaClass / ClosureMetaClass. It uses only public MetaClass APIs so this class can live with the rest of the classic call-site runtime without a split-package on groovy.lang.

Prefer invokedynamic call sites for new code. Planned for deprecation/removal in a future Groovy version.

Since:
6.0.0
  • Method Details