Class Location.AccessLocation

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int count
      count identifying which access should be taken as the trigger point.
      protected int flags
      flags identifying which type of access should be used to identify the trigger.
      protected boolean whenComplete
      flag which is false if the trigger should be inserted before the field access is performed and true if it should be inserted after
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AccessLocation​(int count, int flags, boolean whenComplete)  
    • Field Detail

      • count

        protected int count
        count identifying which access should be taken as the trigger point. if not specified as a parameter this defaults to the first access.
      • flags

        protected int flags
        flags identifying which type of access should be used to identify the trigger. this is either ACCESS_READ, ACCESS_WRITE or an OR of these two values
      • whenComplete

        protected boolean whenComplete
        flag which is false if the trigger should be inserted before the field access is performed and true if it should be inserted after
    • Constructor Detail

      • AccessLocation

        protected AccessLocation​(int count,
                                 int flags,
                                 boolean whenComplete)
    • Method Detail

      • create

        protected static Location create​(java.lang.String parameters,
                                         int flags,
                                         boolean whenComplete)
        create a location identifying a method entry trigger point
        Parameters:
        parameters - the text of the parameters appended to the location specifier
        flags - bit field comprising one or other of flags ACCESS_READ and ACCESS_WRITE identifying whether this specifies field READ or WRITE operations
        whenComplete - false if the trigger should be inserted before the access is performed and true if it should be inserted after
        Returns:
        a method entry location or null if the parameters is not a blank String
      • getLocationType

        public LocationType getLocationType()
        Description copied from class: Location
        identify the type of this location
        Specified by:
        getLocationType in class Location
        Returns:
        the type of this location