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

Method getMethods

src/main/java/groovy/lang/ExpandoMetaClass.java:1016–1022  ·  view source on GitHub ↗

Overrides the behavior of parent getMethods() method to make MetaClass aware of added Expando methods @return A list of MetaMethods @see MetaObjectProtocol#getMethods()

()

Source from the content-addressed store, hash-verified

1014 * @see MetaObjectProtocol#getMethods()
1015 */
1016 @Override
1017 public List<MetaMethod> getMethods() {
1018 List<MetaMethod> methodList = new ArrayList<>();
1019 methodList.addAll(expandoMethods.values());
1020 methodList.addAll(super.getMethods());
1021 return methodList;
1022 }
1023
1024 /** {@inheritDoc} */
1025 @Override

Callers

nothing calls this directly

Calls 3

valuesMethod · 0.65
getMethodsMethod · 0.65
addAllMethod · 0.45

Tested by

no test coverage detected