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.
| Fields inherited from class | Fields |
|---|---|
class AbstractCallSite |
array, index, name |
| Constructor and description |
|---|
GetEffectivePogoFieldSite(CallSite site, MetaClass metaClass, CachedField effective)Copies the parent site and remembers the meta class and field to read. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public final CallSite |
acceptGetProperty(Object receiver)Returns a newly created get-property site when receiver is not a
GroovyObject with metaClass, or a category is active.
|
|
public final CallSite |
acceptGroovyObjectGetProperty(Object receiver)Returns a newly created Groovy-object get-property site when receiver is not a GroovyObject with metaClass,
or a category is active. |
|
public final Object |
callGetProperty(Object receiver)Reads the cached field when receiver still matches this site.
|
|
public final Object |
callGroovyObjectGetProperty(Object receiver)Reads the cached field when receiver still matches this site.
|
|
public final Object |
getProperty(Object receiver)Reads the field through the cached CachedField. |
| Methods inherited from class | Name |
|---|---|
class AbstractCallSite |
acceptGetProperty, acceptGroovyObjectGetProperty, call, call, call, call, call, call, callConstructor, callConstructor, callConstructor, callConstructor, callConstructor, callConstructor, callCurrent, callCurrent, callCurrent, callCurrent, callCurrent, callCurrent, callGetProperty, callGetPropertySafe, callGroovyObjectGetProperty, callGroovyObjectGetPropertySafe, callSafe, callSafe, callSafe, callSafe, callSafe, callSafe, callStatic, callStatic, callStatic, callStatic, callStatic, callStatic, createGetPropertySite, createGroovyObjectGetPropertySite, getArray, getIndex, getName, getProperty |
Copies the parent site and remembers the meta class and field to read.
site - the site whose name and index are copiedmetaClass - the meta class this site was built fromeffective - the field read when the receiver still matches Returns a newly created get-property site when receiver is not a
GroovyObject with metaClass, or a category is active.
Otherwise returns this site.
Returns a newly created Groovy-object get-property site when
receiver is not a GroovyObject with metaClass,
or a category is active. Otherwise returns this site.
Reads the cached field when receiver still matches this site.
Otherwise creates a get-property site and reads through that.
Reads the cached field when receiver still matches this site.
Otherwise creates a Groovy-object get-property site and reads through that.
Reads the field through the cached CachedField.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.