public class PogoGetPropertySite
extends AbstractCallSite
Call site that reads a property from a GroovyObject whose runtime class is the class captured when the site was built.
| Fields inherited from class | Fields |
|---|---|
class AbstractCallSite |
array, index, name |
| Constructor and description |
|---|
PogoGetPropertySite(CallSite parent, Class aClass)Copies the parent site and remembers the receiver class it handles. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public CallSite |
acceptGetProperty(Object receiver)Returns a newly created get-property site when receiver is
null or its runtime class is not the class captured here. |
|
public CallSite |
acceptGroovyObjectGetProperty(Object receiver)Returns a site created for a Groovy object property read when receiver is null or its runtime class is not the class
captured here. |
|
public Object |
getProperty(Object receiver)Reads this site's property name through GroovyObject.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 |
Returns a newly created get-property site when receiver is
null or its runtime class is not the class captured here. Otherwise
returns this site.
Returns a site created for a Groovy object property read when
receiver is null or its runtime class is not the class
captured here. Otherwise returns this site.
Reads this site's property name through GroovyObject.getProperty. A GroovyRuntimeException is unwrapped.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.