A.3. org.aspectj.lang.reflectThe org.aspectj.lang.reflect package contains a selection of more specialized classes that represent specific types of join points and the additional information that they may be able to provide at runtime. The Specialized Subinterfaces of SignatureDepending on the join point, various specialized subinterfaces are available to access the particulars of the signatures on different join points. Figure A-3Figure A-3 shows the relationships between the different interfaces that can be associated with join points. Figure A-4. The relationships between the Signature interface and its specialized subinterfacesThe AdviceSignature interfaceRepresents the signature on an advice block:
The CatchClauseSignature interfaceRepresents the signature of a catch code block:
The CodeSignature interfaceRepresents the signature of a generic code block:
The ConstructorSignature interfaceRepresents a constructor's signature. The FieldSignature interfaceRepresents the signature of a field access or modification:
The InitializerSignature interfaceRepresents the signature of an object initialization. The MemberSignature interfaceRepresents the signature of a join point that involves a class member. The MethodSignature interfaceRepresents the signature on a method:
SourceLocationThe SourceLocation interface defines the information that can potentially be accessed about the location within the source that a particular join point was encountered. (See Figure A-4Figure A-4.)
Figure A-5. The SourceLocation interface |