Package net.sf.jasperreports.jdt
Class JRJdtCompiler.CompilerRequestor
- java.lang.Object
-
- net.sf.jasperreports.jdt.JRJdtCompiler.CompilerRequestor
-
- All Implemented Interfaces:
org.eclipse.jdt.internal.compiler.ICompilerRequestor
- Enclosing class:
- JRJdtCompiler
public static class JRJdtCompiler.CompilerRequestor extends Object implements org.eclipse.jdt.internal.compiler.ICompilerRequestor
-
-
Field Summary
Fields Modifier and Type Field Description protected JRJdtCompiler
compiler
static String
EXCEPTION_MESSAGE_KEY_METHOD_INVOKING_ERROR
static String
EXCEPTION_MESSAGE_KEY_METHOD_RESOLVING_ERROR
protected JRJdtCompiler.CompilationUnitResult[]
unitResults
protected JRCompilationUnit[]
units
-
Constructor Summary
Constructors Constructor Description CompilerRequestor(JasperReportsContext jasperReportsContext, JRJdtCompiler compiler, JRCompilationUnit[] units)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptResult(org.eclipse.jdt.internal.compiler.CompilationResult result)
String
getFormattedProblems()
protected org.eclipse.jdt.core.compiler.IProblem[]
getJavaCompilationErrors(org.eclipse.jdt.internal.compiler.CompilationResult result)
boolean
hasMissingMethods()
JRJdtCompiler.CompilationUnit[]
processCompilationUnits()
void
processProblems()
protected void
reset()
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_METHOD_INVOKING_ERROR
public static final String EXCEPTION_MESSAGE_KEY_METHOD_INVOKING_ERROR
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_METHOD_RESOLVING_ERROR
public static final String EXCEPTION_MESSAGE_KEY_METHOD_RESOLVING_ERROR
- See Also:
- Constant Field Values
-
compiler
protected final JRJdtCompiler compiler
-
units
protected final JRCompilationUnit[] units
-
unitResults
protected final JRJdtCompiler.CompilationUnitResult[] unitResults
-
-
Constructor Detail
-
CompilerRequestor
public CompilerRequestor(JasperReportsContext jasperReportsContext, JRJdtCompiler compiler, JRCompilationUnit[] units)
-
-
Method Detail
-
acceptResult
public void acceptResult(org.eclipse.jdt.internal.compiler.CompilationResult result)
- Specified by:
acceptResult
in interfaceorg.eclipse.jdt.internal.compiler.ICompilerRequestor
-
processProblems
public void processProblems()
-
getFormattedProblems
public String getFormattedProblems()
-
hasMissingMethods
public boolean hasMissingMethods()
-
processCompilationUnits
public JRJdtCompiler.CompilationUnit[] processCompilationUnits()
-
reset
protected void reset()
-
getJavaCompilationErrors
protected org.eclipse.jdt.core.compiler.IProblem[] getJavaCompilationErrors(org.eclipse.jdt.internal.compiler.CompilationResult result)
-
-