MCPcopy
hub / github.com/apache/groovy / getAttribute

Method getAttribute

src/main/java/groovy/lang/MetaClassImpl.java:3148–3151  ·  view source on GitHub ↗

Retrieves the value of an attribute (field). This method is to support the Groovy runtime and not for general client API usage. @param sender The class of the object that requested the attribute @param object The instance @param attribute The name of the attribute @param useSuper Whe

(final Class sender, final Object object, final String attribute, final boolean useSuper)

Source from the content-addressed store, hash-verified

3146 * @return The attribute value
3147 */
3148 @Override
3149 public Object getAttribute(final Class sender, final Object object, final String attribute, final boolean useSuper) {
3150 return getAttribute(sender, object, attribute, useSuper, false);
3151 }
3152
3153 /**
3154 * Retrieves the value of an attribute (field). This method is to support the Groovy runtime and not for general client API usage.

Callers 1

getOuterReferenceMethod · 0.95

Calls 6

checkInitalisedMethod · 0.95
getAttributeMethod · 0.95
getMetaPropertyMethod · 0.95
getPropertyMethod · 0.95
getMetaClassMethod · 0.65
getFieldMethod · 0.45

Tested by

no test coverage detected