| Modifier and Type | Field and Description |
|---|---|
| private volatile int | |
| private boolean | |
| private String |
| Access | Constructor and Description |
|---|---|
| private | |
| public | Checker(DeclareErrorOrWarning
the declare error or declare warning for which to create the checker munger deow)Create a Checker for a declare error or declare warning. |
| private | Checker(Pointcut pointcut, int start, int end, ISourceContext context, String message, boolean isError)
Only used when filling in a parameterized Checker |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ShadowMunger | concretize(ResolvedType theAspect, World world, PerClause clause)
Implements abstract org. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| private String | |
| public ResolvedType | |
| public String | |
| public Collection | |
| private String | |
| public int | |
| public boolean | implementOn(Shadow
the shadow where this munger should be applied shadow)Implements abstract org. |
| public boolean | |
| public boolean | match(Shadow
the shadow which to match against shadow, World the world through which to access message handlers world)Overrides org. |
| public boolean | mustCheckExceptions()
Implements abstract org. |
| private int | |
| public ShadowMunger | parameterizeWith(ResolvedType declaringType, Map<String, UnresolvedType> typeVariableMap)
Implements abstract org. |
| public void |
| hashCode | back to summary |
|---|---|
| private volatile int hashCode | |
| isError | back to summary |
|---|---|
| private boolean isError | |
| message | back to summary |
|---|---|
| private String message | |
| Checker | back to summary |
|---|---|
private Checker()
| |
| Checker | back to summary |
|---|---|
| public Checker(DeclareErrorOrWarning deow) Create a Checker for a declare error or declare warning.
| |
| Checker | back to summary |
|---|---|
| private Checker(Pointcut pointcut, int start, int end, ISourceContext context, String message, boolean isError) Only used when filling in a parameterized Checker | |
| compareTo | back to summary |
|---|---|
| public int compareTo(Object other) Implements org.
| |
| concretize | back to summary |
|---|---|
| public ShadowMunger concretize(ResolvedType theAspect, World world, PerClause clause) Implements abstract org. Concretize this Checker by concretizing the pointcut
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| format | back to summary |
|---|---|
| private String format(String msg, Shadow shadow) | |
| getConcreteAspect | back to summary |
|---|---|
| public ResolvedType getConcreteAspect() Implements abstract org.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage(Shadow shadow) | |
| getThrownExceptions | back to summary |
|---|---|
| public Collection Implements abstract org.
| |
| getValue | back to summary |
|---|---|
| private String getValue(String key, Shadow shadow) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| implementOn | back to summary |
|---|---|
| public boolean implementOn(Shadow shadow) Implements abstract org. Doc from org. Implement this munger at the specified shadow, returning a boolean to indicate success. | |
| isError | back to summary |
|---|---|
| public boolean isError() | |
| match | back to summary |
|---|---|
| public boolean match(Shadow shadow, World world) Overrides org. Determine if the Checker matches at a shadow. If it does then we can immediately report the message. Currently, there can never be a non-statically determinable match. | |
| mustCheckExceptions | back to summary |
|---|---|
| public boolean mustCheckExceptions() Implements abstract org. Doc from org. Does the munger have to check that its exception are accepted by the shadow ? It is not the case for annotation style around advice, for example: that can throw Throwable, even if the advised method does not throw any exceptions.
| |
| nextCurly | back to summary |
|---|---|
| private int nextCurly(String string, int pos) | |
| parameterizeWith | back to summary |
|---|---|
| public ShadowMunger parameterizeWith(ResolvedType declaringType, Map<String, UnresolvedType> typeVariableMap) Implements abstract org. Parameterize the Checker by parameterizing the pointcut
| |
| specializeOn | back to summary |
|---|---|
| public void specializeOn(Shadow shadow) Implements abstract org.
| |