public class PojoMetaClassGetPropertySite
extends AbstractCallSite
Property-read call site for a plain receiver. getProperty(Object)
and callGetProperty(Object) both read name through
InvokerHelper. acceptGetProperty(Object) keeps this site.
| Fields inherited from class | Fields |
|---|---|
class AbstractCallSite |
array, index, name |
| Constructor and description |
|---|
PojoMetaClassGetPropertySite(CallSite parent)Copies the call metadata from parent. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public final CallSite |
acceptGetProperty(Object receiver)Accepts any receiver and keeps this site as the property reader. |
|
public Object |
callGetProperty(Object receiver)Reads name from receiver through
InvokerHelper.getProperty, the same path as
getProperty(Object).
|
|
public final Object |
getProperty(Object receiver)Reads name from receiver through
InvokerHelper.getProperty.
|
| 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 call metadata from parent.
parent - the site whose name and index are reusedAccepts any receiver and keeps this site as the property reader.
receiver - the property owner, unused Reads name from receiver through
InvokerHelper.getProperty, the same path as
getProperty(Object).
A GroovyRuntimeException is rethrown via
ScriptBytecodeAdapter.unwrap.
receiver - the property owner Reads name from receiver through
InvokerHelper.getProperty.
A GroovyRuntimeException is rethrown via
ScriptBytecodeAdapter.unwrap.
receiver - the property ownerCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.