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
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
addDirectory
public void addDirectory(File base) throws IllegalAccessException, IOException, InvocationTargetException
-
delombok
public boolean delombok() throws IllegalAccessException, IOException, InvocationTargetException
-
formatOptionsToMap
public Map<String,String> formatOptionsToMap(List<String> formatOptions) throws Exception
- Throws:
Exception
-
setVerbose
public void setVerbose(boolean verbose) throws IllegalAccessException, InvocationTargetException
-
setCharset
public void setCharset(String charset) throws IllegalAccessException, InvocationTargetException
-
setClasspath
public void setClasspath(String classpath) throws IllegalAccessException, InvocationTargetException
-
setFormatPreferences
public void setFormatPreferences(Map<String,String> prefs) throws IllegalAccessException, InvocationTargetException
-
setOutput
public void setOutput(File dir) throws IllegalAccessException, InvocationTargetException
-
setSourcepath
public void setSourcepath(String sourcepath) throws IllegalAccessException, InvocationTargetException
-
-