Interface ContextKey

  • All Known Implementing Classes:
    ContextKey.ParameterKey

    public interface ContextKey
    This just exists to enforce strong typing.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  ContextKey.ParameterKey
      context key representing some parameter index, useful, e.g.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ContextKey CALLER
      A property of contexts that might be generally useful: the "caller" method ...
      static ContextKey CALLSITE
      A property of contexts that might be generally useful: the "call site" method ...
      static ContextKey NAME
      A property of contexts that might be generally useful: the "name".
      static ContextKey[] PARAMETERS
      Generally useful constants for possible parameter indices
      static ContextKey RECEIVER
      A property of contexts that might be generally useful: an identifier for the receiver object ...
      static ContextKey TARGET
      A property of contexts that might be generally useful: the "target" method.
    • Field Detail

      • CALLER

        static final ContextKey CALLER
        A property of contexts that might be generally useful: the "caller" method ... used for call-string context schemes.
      • TARGET

        static final ContextKey TARGET
        A property of contexts that might be generally useful: the "target" method.
      • NAME

        static final ContextKey NAME
        A property of contexts that might be generally useful: the "name".
      • CALLSITE

        static final ContextKey CALLSITE
        A property of contexts that might be generally useful: the "call site" method ... used for call-string context schemes.
      • RECEIVER

        static final ContextKey RECEIVER
        A property of contexts that might be generally useful: an identifier for the receiver object ... used for object-sensitivity context policies.

        Known implementations (ContextItems) for RECEIVER include TypeAbstraction and InstanceKey

      • PARAMETERS

        static final ContextKey[] PARAMETERS
        Generally useful constants for possible parameter indices