Comparing two elements

To compare the crosscutting of two advice or two declare elements, or one of each:

  1. Select the two elements in the Outline View or Package Explorer.
  2. Right click and select Compare Crosscutting With > Each Other.

The results of the comparison are then shown in the Crosscutting Comparison view, which is opened in the current perspective if it is not already showing.

The Propagate Up toggle button can be used to adjust the granularity of the comparison. By default the comparison is exact - the join points affected by each element must match. When the toggle is selected, all join points which occur within methods (calls made within the method, or catch blocks for example) are propagated up to the enclosing method, and the comparison is then performed between those methods.

Related tasks
Comparing two builds
Comparing with the current build