public class CustomJRJdtCompiler
extends net.sf.jasperreports.engine.design.JRAbstractJavaCompiler
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CustomJRJdtCompiler.CompilationUnit  | 
static class  | 
CustomJRJdtCompiler.CompilationUnitResult  | 
static class  | 
CustomJRJdtCompiler.CompilerRequestor  | 
| Modifier and Type | Field and Description | 
|---|---|
static String | 
EXCEPTION_MESSAGE_KEY_CLASS_LOADING_ERROR  | 
static String | 
EXCEPTION_MESSAGE_KEY_NAME_ENVIRONMENT_ANSWER_INSTANCE_ERROR  | 
EXCEPTION_MESSAGE_KEY_EXPECTED_JAVA_LANGUAGE, EXCEPTION_MESSAGE_KEY_EXPRESSION_CLASS_NOT_LOADED, PROPERTY_EVALUATOR_CLASS_REFERENCE_FIX_ENABLEDEXCEPTION_MESSAGE_KEY_CROSSTAB_ID_NOT_FOUND, EXCEPTION_MESSAGE_KEY_DESIGN_COMPILE_ERROR, EXCEPTION_MESSAGE_KEY_LANGUAGE_NOT_SUPPORTED, EXCEPTION_MESSAGE_KEY_REPORT_EXPRESSIONS_COMPILE_ERROR, EXCEPTION_MESSAGE_KEY_TEMP_DIR_NOT_FOUND, jasperReportsContext| Constructor and Description | 
|---|
CustomJRJdtCompiler(net.sf.jasperreports.engine.JasperReportsContext jasperReportsContext)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
checkLanguage(String language)  | 
protected String | 
compileUnits(net.sf.jasperreports.engine.design.JRCompilationUnit[] units,
            String classpath,
            File tempDirFile)  | 
protected net.sf.jasperreports.engine.design.JRCompilationSourceCode | 
generateSourceCode(net.sf.jasperreports.engine.design.JRSourceCompileTask sourceTask)  | 
protected String | 
getCompilerClass()  | 
protected CustomJRJdtCompiler.CompilerRequestor | 
getCompilerRequestor(net.sf.jasperreports.engine.design.JRCompilationUnit[] units)  | 
protected org.eclipse.jdt.internal.compiler.impl.CompilerOptions | 
getJdtSettings()  | 
protected org.eclipse.jdt.internal.compiler.env.INameEnvironment | 
getNameEnvironment(net.sf.jasperreports.engine.design.JRCompilationUnit[] units)  | 
protected InputStream | 
getResource(String resourceName)  | 
protected String | 
getSourceFileName(String unitName)  | 
protected Class<?> | 
loadClass(String className)  | 
protected net.sf.jasperreports.engine.design.JRCompilationUnit | 
recreateCompileUnit(net.sf.jasperreports.engine.design.JRCompilationUnit compilationUnit,
                   Set<Method> missingMethods)  | 
classCacheKey, getClassFromCache, loadEvaluator, putClassInCachepublic static final String EXCEPTION_MESSAGE_KEY_CLASS_LOADING_ERROR
public static final String EXCEPTION_MESSAGE_KEY_NAME_ENVIRONMENT_ANSWER_INSTANCE_ERROR
public CustomJRJdtCompiler(net.sf.jasperreports.engine.JasperReportsContext jasperReportsContext)
protected String compileUnits(net.sf.jasperreports.engine.design.JRCompilationUnit[] units, String classpath, File tempDirFile)
compileUnits in class net.sf.jasperreports.engine.design.JRAbstractCompilerprotected org.eclipse.jdt.internal.compiler.env.INameEnvironment getNameEnvironment(net.sf.jasperreports.engine.design.JRCompilationUnit[] units)
protected CustomJRJdtCompiler.CompilerRequestor getCompilerRequestor(net.sf.jasperreports.engine.design.JRCompilationUnit[] units)
protected org.eclipse.jdt.internal.compiler.impl.CompilerOptions getJdtSettings()
protected InputStream getResource(String resourceName)
protected Class<?> loadClass(String className) throws ClassNotFoundException
ClassNotFoundExceptionprotected void checkLanguage(String language) throws net.sf.jasperreports.engine.JRException
checkLanguage in class net.sf.jasperreports.engine.design.JRAbstractCompilernet.sf.jasperreports.engine.JRExceptionprotected net.sf.jasperreports.engine.design.JRCompilationUnit recreateCompileUnit(net.sf.jasperreports.engine.design.JRCompilationUnit compilationUnit,
                                                                                   Set<Method> missingMethods)
protected net.sf.jasperreports.engine.design.JRCompilationSourceCode generateSourceCode(net.sf.jasperreports.engine.design.JRSourceCompileTask sourceTask)
                                                                                 throws net.sf.jasperreports.engine.JRException
generateSourceCode in class net.sf.jasperreports.engine.design.JRAbstractCompilernet.sf.jasperreports.engine.JRExceptionprotected String getSourceFileName(String unitName)
getSourceFileName in class net.sf.jasperreports.engine.design.JRAbstractCompilerprotected String getCompilerClass()
getCompilerClass in class net.sf.jasperreports.engine.design.JRAbstractCompilerCopyright © 2020. All rights reserved.