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

Method getStaticMethods

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

Gets all the normal static methods of this class for the given name. @return static methods available from this class for given name

(final Class<?> sender, final String name)

Source from the content-addressed store, hash-verified

793 * @return static methods available from this class for given name
794 */
795 private Object getStaticMethods(final Class<?> sender, final String name) {
796 final MetaMethodIndex.Cache entry = metaMethodIndex.getMethods(sender, name);
797 if (entry == null)
798 return FastArray.EMPTY_LIST;
799 Object answer = entry.staticMethods;
800 if (answer == null)
801 return FastArray.EMPTY_LIST;
802 return answer;
803 }
804
805 /**
806 * Returns whether this MetaClassImpl has been modified. Since MetaClassImpl

Callers 2

pickStaticMethodMethod · 0.95

Calls 1

getMethodsMethod · 0.65

Tested by

no test coverage detected