Klasse BcelCflowCounterFieldAdder

Alle implementierten Schnittstellen:
PartialOrder.PartialComparable

public class BcelCflowCounterFieldAdder extends BcelTypeMunger
This type munger will modify a given class (see the munge() method) to include a field representing a CflowCounter object.
  • Konstruktordetails

    • BcelCflowCounterFieldAdder

      public BcelCflowCounterFieldAdder(ResolvedMember cflowCounterField)
  • Methodendetails

    • munge

      public boolean munge(org.aspectj.weaver.bcel.BcelClassWeaver weaver)
      Setzt außer Kraft:
      munge in Klasse BcelTypeMunger
    • getMatchingSyntheticMember

      public ResolvedMember getMatchingSyntheticMember(Member member)
      Setzt außer Kraft:
      getMatchingSyntheticMember in Klasse ConcreteTypeMunger
    • getSignature

      public ResolvedMember getSignature()
      Setzt außer Kraft:
      getSignature in Klasse ConcreteTypeMunger
    • matches

      public boolean matches(ResolvedType onType)
      Setzt außer Kraft:
      matches in Klasse ConcreteTypeMunger
    • existsToSupportShadowMunging

      public boolean existsToSupportShadowMunging()
      Beschreibung aus Klasse kopiert: ConcreteTypeMunger
      Some type mungers are created purely to help with the implementation of shadow mungers. For example to support the cflow() pointcut we create a new cflow field in the aspect, and that is added via a BcelCflowCounterFieldAdder. During compilation we need to compare sets of type mungers, and if some only come into existence after the 'shadowy' type things have been processed, we need to ignore them during the comparison. Returning true from this method indicates the type munger exists to support 'shadowy' stuff - and so can be ignored in some comparison.
      Setzt außer Kraft:
      existsToSupportShadowMunging in Klasse ConcreteTypeMunger
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse BcelTypeMunger