Class ClassDecompileRequest


  • public class ClassDecompileRequest
    extends Object
    Contains the information needed to decompile a single class file.
    Author:
    Jesse Sightler
    • Constructor Detail

      • ClassDecompileRequest

        public ClassDecompileRequest​(Path rootDirectory,
                                     Path classFile,
                                     Path outputDirectory)
        Create an instance with the given rootDirectory (eg, for a class named "com.foo.Example" in "/path/to/com/foo/Example.class", this would be "/path/to") and the full path to the class file itself.

        The resulting decompiled file will be placed in outputDirectory.

    • Method Detail

      • getRootDirectory

        public Path getRootDirectory()
        Contains the root directory for this class file.
      • getClassFile

        public Path getClassFile()
        Contains the full path to the file itself.
      • getOutputDirectory

        public Path getOutputDirectory()
        Contains the full path to the output directory (where the decompiled file will be placed).
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object