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

Method isBeanDerivative

src/main/java/groovy/lang/MetaClassImpl.java:3733–3740  ·  view source on GitHub ↗
(Class theClass)

Source from the content-addressed store, hash-verified

3731 }
3732
3733 private static boolean isBeanDerivative(Class theClass) {
3734 Class next = theClass;
3735 while (next != null) {
3736 if (Arrays.asList(next.getInterfaces()).contains(BeanInfo.class)) return true;
3737 next = next.getSuperclass();
3738 }
3739 return false;
3740 }
3741
3742 private void addToAllMethodsIfPublic(final MetaMethod metaMethod) {
3743 if (metaMethod.isPublic())

Callers 1

addPropertiesMethod · 0.95

Calls 3

containsMethod · 0.45
asListMethod · 0.45
getInterfacesMethod · 0.45

Tested by

no test coverage detected