Class GetEffectivePogoFieldSite

java.lang.Object
org.codehaus.groovy.runtime.callsite.AbstractCallSite
org.codehaus.groovy.runtime.callsite.GetEffectivePogoFieldSite
All Implemented Interfaces:
CallSite

public class GetEffectivePogoFieldSite extends AbstractCallSite
Call site that reads a field through a cached CachedField while the receiver is a GroovyObject whose meta class is the one captured here and no category is active on the current thread.
  • Constructor Details

    • GetEffectivePogoFieldSite

      public GetEffectivePogoFieldSite(CallSite site, MetaClass metaClass, CachedField effective)
      Copies the parent site and remembers the meta class and field to read.
      Parameters:
      site - the site whose name and index are copied
      metaClass - the meta class this site was built from
      effective - the field read when the receiver still matches
  • Method Details