Package lombok.launch
Class Delombok
java.lang.Object
lombok.launch.Delombok
public class Delombok extends Object
Since the Shadow Class Loader hides Lombok's internal Delombok, we need to access it via reflection.
- See Also:
- lombok.delombok.Delombok
-
Constructor Summary
Constructors Constructor Description Delombok() -
Method Summary
Modifier and Type Method Description voidaddDirectory(File base)booleandelombok()Map<String,String>formatOptionsToMap(List<String> formatOptions)voidsetCharset(String charset)voidsetClasspath(String classpath)voidsetFormatPreferences(Map<String,String> prefs)voidsetOutput(File dir)voidsetSourcepath(String sourcepath)voidsetVerbose(boolean verbose)
-
Constructor Details
-
Method Details
-
addDirectory
public void addDirectory(File base) throws IllegalAccessException, IOException, InvocationTargetException -
delombok
-
formatOptionsToMap
- Throws:
Exception
-
setVerbose
-
setCharset
-
setClasspath
public void setClasspath(String classpath) throws IllegalAccessException, InvocationTargetException -
setFormatPreferences
public void setFormatPreferences(Map<String,String> prefs) throws IllegalAccessException, InvocationTargetException -
setOutput
-
setSourcepath
public void setSourcepath(String sourcepath) throws IllegalAccessException, InvocationTargetException
-