Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ch.ethz.inf.iks.jvmai.jvmdi
Class FieldAccessJoinPointImpl  view FieldAccessJoinPointImpl download FieldAccessJoinPointImpl.java

java.lang.Object
  extended bych.ethz.inf.iks.jvmai.jvmdi.CodeJoinPointImpl
      extended bych.ethz.inf.iks.jvmai.jvmdi.FieldJoinPointImpl
          extended bych.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 $

Field Summary
 
Fields inherited from class ch.ethz.inf.iks.jvmai.jvmdi.FieldJoinPointImpl
field
 
Fields inherited from class ch.ethz.inf.iks.jvmai.jvmdi.CodeJoinPointImpl
aopTag, cflow, context, signature, target
 
Fields inherited from interface ch.ethz.jvmai.FieldAccessJoinPoint
KIND
 
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
 
Constructor Summary
FieldAccessJoinPointImpl(ControlFlow cf, JoinPointContext ctx)
           
 
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.FieldJoinPointImpl
getField, getTargetClass, getValue
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ch.ethz.jvmai.FieldJoinPoint
getField, getValue
 
Methods inherited from interface ch.ethz.jvmai.CodeJoinPoint
getAopTag, getByteCodeIndex, getEnclosingJoinPoint, getMethod
 
Methods inherited from interface ch.ethz.jvmai.JoinPoint
getArgs, getSignature, getStaticPart, getTarget, getThis, toLongString, toShortString, toString
 

Constructor Detail

FieldAccessJoinPointImpl

public FieldAccessJoinPointImpl(ControlFlow cf,
                                JoinPointContext ctx)
Method Detail

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