Overrides the behavior of parent getMethods() method to make MetaClass aware of added Expando methods @return A list of MetaMethods @see MetaObjectProtocol#getMethods()
()
| 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 |
nothing calls this directly
no test coverage detected