Class CodeSnippetCompiler
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.Compiler
org.aspectj.org.eclipse.jdt.internal.eval.CodeSnippetCompiler
- All Implemented Interfaces:
ITypeRequestor, ProblemSeverities
A compiler that compiles code snippets.
-
Field Summary
Fields inherited from class Compiler
annotationProcessorManager, annotationProcessorStartIndex, DEBUG, DebugRequestor, lookupEnvironment, options, out, parser, parseThreshold, problemReporter, progress, referenceBindings, remainingIterations, requestor, stats, totalUnits, unitsToProcess, useSingleThreadFields inherited from interface ProblemSeverities
Abort, AbortCompilation, AbortCompilationUnit, AbortMethod, AbortType, CoreSeverityMASK, Error, Fatal, Ignore, Info, InternalError, Optional, SecondaryError, Warning -
Constructor Summary
ConstructorsConstructorDescriptionCodeSnippetCompiler(INameEnvironment environment, IErrorHandlingPolicy policy, CompilerOptions compilerOptions, ICompilerRequestor requestor, IProblemFactory problemFactory, EvaluationContext evaluationContext, int codeSnippetStart, int codeSnippetEnd) Creates a new code snippet compiler initialized with a code snippet parser. -
Method Summary
Methods inherited from class Compiler
accept, accept, accept, addCompilationUnit, backupAptProblems, beginToCompile, compile, getUnitToProcess, handleInternalException, handleInternalException, internalBeginToCompile, process, processAnnotations, processCompiledUnits, reportProgress, reportWorked, reset, resolve, resolve, restoreAptProblems, setBinaryTypes, shouldCleanupMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ITypeRequestor
accept
-
Constructor Details
-
CodeSnippetCompiler
public CodeSnippetCompiler(INameEnvironment environment, IErrorHandlingPolicy policy, CompilerOptions compilerOptions, ICompilerRequestor requestor, IProblemFactory problemFactory, EvaluationContext evaluationContext, int codeSnippetStart, int codeSnippetEnd) Creates a new code snippet compiler initialized with a code snippet parser.
-
-
Method Details
-
initializeParser
public void initializeParser()- Overrides:
initializeParserin classCompiler
-