public final String precedence;
public final List<Definition.Pointcut> pointcuts;
public final String perclause;
+ public List<Definition.DeclareErrorOrWarning> deows;
public ConcreteAspect(String name, String extend) {
this(name, extend, null, null);
}
this.precedence = precedence;
this.pointcuts = new ArrayList<Definition.Pointcut>();
+ this.deows = new ArrayList<Definition.DeclareErrorOrWarning>();
this.perclause = perclause;
}
}
}
}
+ public static class DeclareErrorOrWarning {
+ public final boolean isError;
+ public final String pointcut;
+ public final String message;
+
+ public DeclareErrorOrWarning(boolean isError, String pointcut, String message) {
+ this.isError = isError;
+ this.pointcut = pointcut;
+ this.message = message;
+ }
+ }
+
public void appendWeaverOptions(String option) {
weaverOptions.append(option.trim()).append(' ');
}