3333import dev .denwav .hypo .asm .hydrate .LambdaCallHydrator ;
3434import dev .denwav .hypo .asm .hydrate .LocalClassHydrator ;
3535import dev .denwav .hypo .asm .hydrate .SuperConstructorHydrator ;
36+ import dev .denwav .hypo .core .HypoConfig ;
3637import dev .denwav .hypo .core .HypoContext ;
3738import dev .denwav .hypo .hydrate .HydrationManager ;
3839import dev .denwav .hypo .mappings .ChangeChain ;
@@ -65,15 +66,18 @@ public final class InspectJarPage extends CodeBookPage {
6566 private final Path inputJar ;
6667 private final List <Path > classpathJars ;
6768 private final @ Nullable Path paramMappings ;
69+ private final HypoConfig config ;
6870
6971 @ Inject
7072 public InspectJarPage (
7173 @ InputJar final Path inputJar ,
7274 @ ClasspathJars final List <Path > classpathJars ,
73- @ ParamMappings @ Nullable final Path paramMappings ) {
75+ @ ParamMappings @ Nullable final Path paramMappings ,
76+ @ Hypo final HypoConfig config ) {
7477 this .inputJar = inputJar ;
7578 this .classpathJars = classpathJars ;
7679 this .paramMappings = paramMappings ;
80+ this .config = config ;
7781 }
7882
7983 @ Override
@@ -87,6 +91,7 @@ public void exec() {
8791 .withProvider (AsmClassDataProvider .of (fromJar (this .inputJar )))
8892 .withContextProvider (AsmClassDataProvider .of (fromJars (this .classpathJars .toArray (new Path [0 ]))))
8993 .withContextProvider (AsmClassDataProvider .of (ofJdk ()))
94+ .withConfig (this .config )
9095 .build ();
9196 } catch (final IOException e ) {
9297 throw new UnexpectedException ("Failed to open jar files" , e );
0 commit comments