@ProviderFor(value=EclipseAnnotationHandler.class) public class HandleSneakyThrows extends EclipseAnnotationHandler<SneakyThrows>
lombok.HandleSneakyThrows annotation for eclipse.| Constructor and Description |
|---|
HandleSneakyThrows() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jdt.internal.compiler.ast.Statement |
buildTryCatchBlock(org.eclipse.jdt.internal.compiler.ast.Statement[] contents,
lombok.eclipse.handlers.HandleSneakyThrows.DeclaredException exception,
org.eclipse.jdt.internal.compiler.ast.ASTNode source,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method) |
void |
handle(AnnotationValues<SneakyThrows> annotation,
org.eclipse.jdt.internal.compiler.ast.Annotation source,
EclipseNode annotationNode)
Called when an annotation is found that is likely to match the annotation you're interested in.
|
void |
handleMethod(EclipseNode annotation,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method,
List<lombok.eclipse.handlers.HandleSneakyThrows.DeclaredException> exceptions) |
getAnnotationHandledByThisHandler, preHandlepublic void handle(AnnotationValues<SneakyThrows> annotation, org.eclipse.jdt.internal.compiler.ast.Annotation source, EclipseNode annotationNode)
EclipseAnnotationHandlerhandle in class EclipseAnnotationHandler<SneakyThrows>annotation - The actual annotation - use this object to retrieve the annotation parameters.source - The Eclipse AST node representing the annotation.annotationNode - The Lombok AST wrapper around the 'ast' parameter. You can use this object
to travel back up the chain (something javac AST can't do) to the parent of the annotation, as well
as access useful methods such as generating warnings or errors focused on the annotation.public void handleMethod(EclipseNode annotation, org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method, List<lombok.eclipse.handlers.HandleSneakyThrows.DeclaredException> exceptions)
public org.eclipse.jdt.internal.compiler.ast.Statement buildTryCatchBlock(org.eclipse.jdt.internal.compiler.ast.Statement[] contents,
lombok.eclipse.handlers.HandleSneakyThrows.DeclaredException exception,
org.eclipse.jdt.internal.compiler.ast.ASTNode source,
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration method)
Copyright © 2009-2015 The Project Lombok Authors, licensed under the MIT licence.