Other declarations
Prev | Appendix A. AspectJ Quick Reference | Next

## Other declarations

`declare parents : `TypePattern` extends `Type` ;`
  the types in `TypePattern` extend `Type`.
`declare parents : `TypePattern` implements `TypeList` ;`
  the types in `TypePattern` implement the types in `TypeList`.
`declare warning : `Pointcut` : `String` ;`
  if any of the join points in `Pointcut` possibly exist in the program, the compiler emits the warning `String`.
`declare error : `Pointcut` : `String` ;`
  if any of the join points in `Pointcut` could possibly exist in the program, the compiler emits the error `String`.
`declare soft : `Type` : `Pointcut` ;`
  any `Type` exception that gets thrown at any join point picked out by `Pointcut` is wrapped in `org.aspectj.lang.SoftException`.
`declare precedence : `TypePatternList` ;`
  at any join point where multiple pieces of advice apply, the advice precedence at that join point is in `TypePatternList` order.

Prev | Home | Next
Inter-type member declarations | Up | Aspects