Class PerClause

All Implemented Interfaces:
IHasPosition, IHasSourceLocation
Direct Known Subclasses:
PerCflow, PerFromSuper, PerObject, PerSingleton, PerTypeWithin

public abstract class PerClause extends Pointcut
  • Field Details

  • Constructor Details

    • PerClause

      public PerClause()
  • Method Details

    • readPerClause

      public static PerClause readPerClause(VersionedDataInputStream s, ISourceContext context) throws IOException
      Throws:
      IOException
    • concretize1

      public final Pointcut concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings)
      Description copied from class: Pointcut
      Resolves and removes ReferencePointcuts, replacing with basic ones
      Specified by:
      concretize1 in class Pointcut
      Parameters:
      inAspect - the aspect to resolve relative to
      bindings - a Map from formal index in the current lexical context → formal index in the concrete advice that will run This must always return a new Pointcut object (even if the concretized Pointcut is identical to the resolved one). That behavior is assumed in many places. XXX fix implementors to handle state
    • concretize

      public abstract PerClause concretize(ResolvedType inAspect)
    • getKind

      public abstract PerClause.Kind getKind()
    • toDeclarationString

      public abstract String toDeclarationString()