Package org.aspectj.lang.reflect


package org.aspectj.lang.reflect

Contains interfaces that extend Signature to provide additional information about each possible join point signature. This additional information can be accessed by casting a Signature object to the appropriate type, i.e.

  before(): call(* *(..)) {
      MethodSignature sig = (MethodSignature)thisJoinPoint.getSignature();
      ...
  }

This package also contains SourceLocation that provides information about the location in source code that corresponds to a particular join point.

  • Interface Summary
    Interface
    Description
    Runtime representation of an advice declaration inside an aspect
     
    The runtime representation of a type (Aspect, Class, Interface, Annotation, Enum, or Array) in an AspectJ program.
     
     
     
    The AspectJ runtime representation of a declare annotation member in an aspect.
    AspectJ runtime representation of a declare error or declare warning member in an aspect.
    A declare parents member defined inside an aspect
    AspectJ runtime representation of a declare precedence statement as declared in an aspect.
    AspectJ runtime representation of a declare soft member within an aspect.
     
    Signature for static and instance initializers.
    Runtime representation of an inter-type constructor member declared within an aspect.
    Represents an inter-type method, field, or constructor declared in an aspect.
    Represents an inter-type field declaration declared in an aspect.
    Represents an inter-type method declaration member within an aspect.
     
     
     
    AspectJ runtime representation of the per-clause associated with an aspect.
    AspectJ runtime representation of a pointcut member inside a class or aspect.
    Representation of a pointcut based per-clause associated with an aspect (perthis/target/cflow/cflowbelow)
    Represents an anonymous pointcut expression as used in pointcuts, advice declarations, declares, and per-clauses
    AspectJ runtime representation of a signature pattern as used in various aspect members (for example, declare @method, declare @field).
    For defining code, the class defined and location in a source file.
    AspectJ runtime representation of a type pattern as used in member declarations such as declare parents.
    AspectJ runtime representation of a type pattern based per-clause associated with an aspect (pertypewithin).
     
  • Class Summary
    Class
    Description
    This is the anchor for the AspectJ runtime type system.
  • Enum Class Summary
    Enum Class
    Description
    The different kinds of advice in AspectJ
     
    The different per-clauses (aspect instantiation models) supported by AspectJ
  • Exception Summary
    Exception
    Description
    Thrown when AjType.getDeclaredAdvice is called with an advice name and no matching advice declaration can be found.
    Thrown when AjType.getDeclaredPointcut is called with a pointcut name, and no matching pointcut declaration can be found.