Class Delombok

    • Constructor Detail

      • Delombok

        public Delombok()
    • Method Detail

      • getVerbose

        public Property<Boolean> getVerbose()
        Print the name of each file as it is being delombok-ed.
      • getFormat

        public Map<String,​String> getFormat()
        Sets formatting rules. Use --format-help to list all available rules. Unset format rules are inferred by scanning the source for usages.
      • getQuiet

        public Property<Boolean> getQuiet()
        No warnings or errors will be emitted to standard error.
      • getEncoding

        public Property<String> getEncoding()
        Sets the encoding of your source files. Defaults to the system default charset. Example: "UTF-8"
      • getPrint

        public Property<Boolean> getPrint()
        Print delombok-ed code to standard output instead of saving it in target directory.
      • getTarget

        public DirectoryProperty getTarget()
        Directory to save delomboked files to.
      • getBootclasspath

        public ConfigurableFileCollection getBootclasspath()
        override Bootclasspath (analogous to javac -bootclasspath option)
      • getNocopy

        public Property<Boolean> getNocopy()
        Lombok will only delombok source files. Without this option, non-java, non-class files are copied to the target directory.
      • setFormat

        public void setFormat​(Map<String,​String> format)
        Sets formatting rules. Use --format-help to list all available rules. Unset format rules are inferred by scanning the source for usages.