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 void
addDirectory(File base)
boolean
delombok()
Map<String,String>
formatOptionsToMap(List<String> formatOptions)
void
setCharset(String charset)
void
setClasspath(String classpath)
void
setFormatPreferences(Map<String,String> prefs)
void
setOutput(File dir)
void
setSourcepath(String sourcepath)
void
setVerbose(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
-
-