Methods Summary |
---|
public ErrorHandler | getErrorHandler()
return errorHandler;
|
public AnnotatedElementHandler | getHandler()
if (handlers.isEmpty())
return null;
return handlers.peek();
|
public U | getHandler(java.lang.Class contextType)
if (handlers.isEmpty())
return null;
if (AnnotationUtils.shouldLog("handler")) {
AnnotationUtils.getLogger().finer("Top handler is " + handlers.peek());
}
return contextType.cast(handlers.peek());
|
public Scanner | getProcessingInput()
return scanner;
|
public AnnotationProcessor | getProcessor()
return processor;
|
public AnnotatedElementHandler | popHandler()
if (handlers.isEmpty())
return null;
return handlers.pop();
|
public void | pushHandler(AnnotatedElementHandler handler)
if (handler instanceof AnnotationContext) {
((AnnotationContext) handler).setProcessingContext(this);
}
handlers.push(handler);
|
public void | setErrorHandler(ErrorHandler errorHandler)Sets the error handler for this processing context.
this.errorHandler = errorHandler;
|
public void | setProcessingInput(Scanner scanner)
this.scanner = scanner;
|