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

Method isDefault

src/main/java/groovy/lang/MetaMethod.java:195–197  ·  view source on GitHub ↗

Returns whether this method is interface-default. @return true if this method is default

()

Source from the content-addressed store, hash-verified

193 * @return true if this method is default
194 */
195 public boolean isDefault() {
196 return (getModifiers() & (Modifier.ABSTRACT | Modifier.PUBLIC | Modifier.STATIC)) == Modifier.PUBLIC && getDeclaringClass().isInterface;
197 }
198
199 /**
200 * Determines if the given method has the same name, parameters, return type

Callers

nothing calls this directly

Calls 2

getModifiersMethod · 0.95
getDeclaringClassMethod · 0.95

Tested by

no test coverage detected