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

Method addConsts

src/main/java/groovy/lang/MetaClassImpl.java:2747–2752  ·  view source on GitHub ↗
(final CachedClass iface, final Map<String, MetaProperty> index)

Source from the content-addressed store, hash-verified

2745 }
2746
2747 private static void addConsts(final CachedClass iface, final Map<String, MetaProperty> index) {
2748 for (CachedClass superInterface : iface.getDeclaredInterfaces()) { // GROOVY-11639
2749 addConsts(superInterface, index);
2750 }
2751 addFields(iface, index);
2752 }
2753
2754 private static void addFields(final CachedClass klass, final Map<String, MetaProperty> index) {
2755 for (CachedField field : klass.getFields()) {

Callers 2

setUpPropertiesMethod · 0.95

Calls 2

addFieldsMethod · 0.95
getDeclaredInterfacesMethod · 0.80

Tested by

no test coverage detected