Class Aspects

java.lang.Object
aQute.lib.aspects.Aspects

public class Aspects extends Object
Minute library to do some aspect oriented programming without dragging in the world. Should not be used for high performance things.
  • Field Details

  • Constructor Details

    • Aspects

      public Aspects()
  • Method Details

    • intercept

      public static <T> Aspects.InterceptBuilder<T> intercept(Class<T> type, T delegate)
      Create an intercepting proxy using a builder
      Parameters:
      type - the type of the proxy
      delegate - the delegate to delegate to
      Returns:
      a builder