private String message;
private volatile int hashCode = -1;
+ @SuppressWarnings("unused")
private Checker() {
}
}
@Override
- public Collection getThrownExceptions() {
- return Collections.EMPTY_LIST;
+ public Collection<ResolvedType> getThrownExceptions() {
+ return Collections.emptyList();
}
// FIXME this perhaps ought to take account of the other fields in advice (use super.equals?)
* Parameterize the Checker by parameterizing the pointcut
*/
@Override
- public ShadowMunger parameterizeWith(ResolvedType declaringType, Map typeVariableMap) {
+ public ShadowMunger parameterizeWith(ResolvedType declaringType, Map<String, UnresolvedType> typeVariableMap) {
Checker ret = new Checker(this.pointcut.parameterizeWith(typeVariableMap, declaringType.getWorld()), this.start, this.end,
this.sourceContext, this.message, this.isError);
return ret;
*/
public abstract boolean implementOn(Shadow shadow);
- public abstract ShadowMunger parameterizeWith(ResolvedType declaringType, Map typeVariableMap);
+ public abstract ShadowMunger parameterizeWith(ResolvedType declaringType, Map<String, UnresolvedType> typeVariableMap);
/**
* @return a Collection of ResolvedTypes for all checked exceptions that might be thrown by this munger
*/
- public abstract Collection getThrownExceptions();
+ public abstract Collection<ResolvedType> getThrownExceptions();
/**
* Does the munger have to check that its exception are accepted by the shadow ? It is not the case for annotation style around