Skip to content

The IntelliJ plugin does not decompile anonymous class correctly #16

@Ciribomflax

Description

@Ciribomflax

I used the vineflower-1.9.3.jar to decompile a JAR file and it correctly produced a java source class with the following lines:
client.addRequestInterceptor(new HttpRequestInterceptor() { public void process(HttpRequest request, HttpContext context) throws HttpException, IOException { request.setHeader("Host", IdpMonitorSampler.this.getHost(endpoint)); } });

However, if I extract the same class file from the jar and open it in IntelliJ I see the following line:
client.setRedirectStrategy(new 1(this, endpoint, endpointUrl));

Is it a bug or does the IntelliJ plugin not know how to correctly decompile this case?

UPDATE:
If I also use the IntelliJ plugin File Expander in order to be able to see the content of JAR files, I can double click the class and Quiltflower decompiles it correctly. I guess there's some information missing if I extract the class file from the JAR and then decompile it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions