java.lang.Object
ch.ethz.inf.iks.jvmai.jvmdi.CodeJoinPointImpl
ch.ethz.inf.iks.jvmai.jvmdi.FieldJoinPointImpl
ch.ethz.inf.iks.jvmai.jvmdi.FieldAccessJoinPointImpl
- All Implemented Interfaces:
- ch.ethz.jvmai.CodeJoinPoint, ch.ethz.jvmai.FieldAccessJoinPoint, ch.ethz.jvmai.FieldJoinPoint, ch.ethz.jvmai.JoinPoint, ch.ethz.jvmai.JoinPointKinds, ch.ethz.jvmai.JoinPointStaticPart
- public class FieldAccessJoinPointImpl
- extends FieldJoinPointImpl
- implements ch.ethz.jvmai.FieldAccessJoinPoint
Class FieldAccessJoinPoint represents a joinpoint where
a field is accessed. This class does not provide any new
fields or methods.
- Version:
- $Revision: 1.1.1.1 $
| Fields inherited from interface ch.ethz.jvmai.JoinPointKinds |
KIND_CODE_JP, KIND_EXCEPTION_CATCH_ARGS_JP, KIND_EXCEPTION_THROW_ARGS_JP, KIND_FIELD_ACCESS_JP, KIND_FIELD_MODIFICATION_JP, KIND_METHOD_ENTRY_JP, KIND_METHOD_EXIT_JP, KIND_UNKNOWN_JP, MASK_ALL_JP, MASK_CODE_JP, MASK_EXCEPTION_CATCH_ARGS_JP, MASK_EXCEPTION_THROW_ARGS_JP, MASK_FIELD_ACCESS_JP, MASK_FIELD_JP, MASK_FIELD_MODIFICATION_JP, MASK_METHOD_ENTRY_JP, MASK_METHOD_EXIT_JP, MASK_UNKNOWN_JP |
|
Method Summary |
java.lang.String |
getKind()
Compliance with aspectj |
int |
getMask()
This method provides information similar to the
AspectJ original getKind. |
| Methods inherited from class ch.ethz.inf.iks.jvmai.jvmdi.CodeJoinPointImpl |
equals, getAopTag, getArgs, getByteCodeIndex, getCflowTags, getEnclosingJoinPoint, getMethod, getSignature, getStaticPart, getTarget, getThis, hashCode, toLongString, toShortString, toString |
FieldAccessJoinPointImpl
public FieldAccessJoinPointImpl(ControlFlow cf,
JoinPointContext ctx)
getKind
public java.lang.String getKind()
- Description copied from interface:
ch.ethz.jvmai.JoinPoint
- Compliance with aspectj
- Specified by:
getKind in interface ch.ethz.jvmai.JoinPoint- Overrides:
getKind in class CodeJoinPointImpl
getMask
public int getMask()
- Description copied from interface:
ch.ethz.jvmai.JoinPoint
- This method provides information similar to the
AspectJ original getKind. The problem with getKind
is that it works with strings, which is inefficient.
We cannot override getKind -- Java is not
zero-variant on results (at least until 1.4.*).
- Specified by:
getMask in interface ch.ethz.jvmai.JoinPoint- Overrides:
getMask in class FieldJoinPointImpl