Class DeclarePrecedenceImpl

java.lang.Object
org.aspectj.internal.lang.reflect.DeclarePrecedenceImpl
All Implemented Interfaces:
DeclarePrecedence

public class DeclarePrecedenceImpl extends Object implements DeclarePrecedence
Author:
colyer
  • Constructor Details

    • DeclarePrecedenceImpl

      public DeclarePrecedenceImpl(String precedenceList, AjType declaring)
  • Method Details

    • getDeclaringType

      public AjType getDeclaringType()
      Specified by:
      getDeclaringType in interface DeclarePrecedence
      Returns:
      the declaring aspect
    • getPrecedenceOrder

      public TypePattern[] getPrecedenceOrder()
      Specified by:
      getPrecedenceOrder in interface DeclarePrecedence
      Returns:
      an ordered set of type patterns. An aspect matching a type pattern at a lower index in the array takes precedence over an aspect that only matches a type pattern at a higher index in the array.
    • toString

      public String toString()
      Overrides:
      toString in class Object