MCPcopy Index your code
hub / github.com/apache/groovy / getProperties

Method getProperties

src/main/java/org/codehaus/groovy/ast/ClassNode.java:1011–1017  ·  view source on GitHub ↗

Returns all PropertyNodes declared in this ClassNode. If this node is a proxy (has a redirect), the call is forwarded to the redirect target. Properties are distinct from fields and represent a higher-level abstraction with getter/setter semantics. @return a mutable list of {@link PropertyN

()

Source from the content-addressed store, hash-verified

1009 * @see PropertyNode
1010 */
1011 public List<PropertyNode> getProperties() {
1012 if (redirect != null)
1013 return redirect.getProperties();
1014 if (properties == null)
1015 properties = new ArrayList<>();
1016 return properties;
1017 }
1018
1019 /**
1020 * Returns the internal field index map for fast field lookup by name. This method is deprecated

Callers 15

addListenerToPropertyMethod · 0.95
findClassMemberMethod · 0.95
addPropertyMethod · 0.95
hasPropertyMethod · 0.95
getPropertyMethod · 0.95
visitContentsMethod · 0.95
getAllPropertiesMethod · 0.95
visitFieldNodeMethod · 0.95
visitMethod · 0.95
visitPropertyMethod · 0.95

Calls 1

getPropertiesMethod · 0.65

Tested by

no test coverage detected