@@ -137,7 +137,7 @@ private byte[] generateMuzzleClass(InstrumenterModule module) {
137137 }
138138 }
139139
140- // Inferred helpers = our classes referenced from the advice, minus the advice roots.
140+ // Inferred helpers = our classes referenced from the advice minus the advice roots.
141141 Set <String > inferredHelpers = new LinkedHashSet <>();
142142 for (Reference reference : allReferences ) {
143143 if (!adviceClasses .contains (reference .className )
@@ -146,7 +146,7 @@ private byte[] generateMuzzleClass(InstrumenterModule module) {
146146 }
147147 }
148148
149- // Manual additions cover helpers the crawl can't see (reflection, SPI, advice-less injectors) .
149+ // Manual additions cover helpers the crawl can't see.
150150 Set <String > manualHelpers = new LinkedHashSet <>(asList (module .helperClassNames ()));
151151 Set <String > seedHelpers = new LinkedHashSet <>(inferredHelpers );
152152 seedHelpers .addAll (manualHelpers );
@@ -165,7 +165,8 @@ private byte[] generateMuzzleClass(InstrumenterModule module) {
165165
166166 writeInferenceReport (module , adviceClasses .isEmpty (), inferredHelpers , orderedHelpers );
167167
168- // Injected helpers are our own classes, so they must not be asserted as library references.
168+ // Injected helpers are our own classes, so they don't need to be asserted as library
169+ // references.
169170 Set <String > ignoredClassNames = new HashSet <>(asList (orderedHelpers ));
170171 Collections .addAll (ignoredClassNames , module .muzzleIgnoredClassNames ());
171172 List <Reference > references = new ArrayList <>();
0 commit comments