public abstract class ArtificialRescueChecker extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ArtificialRescueChecker.RescueData
Represents a single
ArtificialRescue.Rescue . |
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration |
cud |
Modifier and Type | Method and Description |
---|---|
static void |
check(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud,
boolean allowArtificialRescue,
Map<org.eclipse.jdt.internal.compiler.ast.TypeDeclaration,org.eclipse.jdt.internal.compiler.lookup.Binding[]> artificialRescues)
Check the
ArtificialRescue annotations in a CompilationUnit. |
static List<String> |
collectReferencedTypes(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud)
Report all types named in
ArtificialRescue annotations in a CUD. |
protected void |
error(String msg) |
protected void |
exec() |
protected abstract void |
processRescue(ArtificialRescueChecker.RescueData rescue) |
protected void |
processType(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x)
Examine a TypeDeclaration for ArtificialRescue annotations.
|
protected final org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud
public static void check(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud, boolean allowArtificialRescue, Map<org.eclipse.jdt.internal.compiler.ast.TypeDeclaration,org.eclipse.jdt.internal.compiler.lookup.Binding[]> artificialRescues)
ArtificialRescue
annotations in a CompilationUnit. Errors
are reported through GWTProblem
.public static List<String> collectReferencedTypes(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud)
ArtificialRescue
annotations in a CUD. No
error checking is done.protected final void error(String msg)
protected final void exec()
protected abstract void processRescue(ArtificialRescueChecker.RescueData rescue)
protected void processType(org.eclipse.jdt.internal.compiler.ast.TypeDeclaration x)
Copyright © 2018. All rights reserved.