@Test public void testReferenceCall() throws Exception { new ByteBuddy() .subclass(Qux.class) .method(isDeclaredBy(Qux.class)) .intercept(FixedValue.reference(bar)) .make(); }
public static AssignerConfigurable reference(Object fixedValue) { return new ForValue(fixedValue); }
FixedValue implements Implementation { public static AssignerConfigurable reference(Object fixedValue) { return new ForValue(fixedValue); } }
FixedValue implements Implementation { public static AssignerConfigurable reference(Object fixedValue) { return new ForValue(fixedValue); } protected  FixedValue(Assigner assigner, Assigner.Typing typing); }
FixedValue implements Implementation { public static AssignerConfigurable reference(Object fixedValue) { return new ForValue(fixedValue); } protected  FixedValue(Assigner assigner, Assigner.Typing typing); static AssignerConfigurable value(Object fixedValue); static AssignerConfigurable reference(Object fixedValue); static AssignerConfigurable reference(Object fixedValue, String fieldName); static AssignerConfigurable value(TypeDescription fixedValue); static AssignerConfigurable value(JavaConstant fixedValue); static AssignerConfigurable argument(int index); static AssignerConfigurable self(); static Implementation nullValue(); static AssignerConfigurable originType(); }
FixedValue implements Implementation { public static AssignerConfigurable reference(Object fixedValue) { return new ForValue(fixedValue); } protected  FixedValue(Assigner assigner, Assigner.Typing typing); static AssignerConfigurable value(Object fixedValue); static AssignerConfigurable reference(Object fixedValue); static AssignerConfigurable reference(Object fixedValue, String fieldName); static AssignerConfigurable value(TypeDescription fixedValue); static AssignerConfigurable value(JavaConstant fixedValue); static AssignerConfigurable argument(int index); static AssignerConfigurable self(); static Implementation nullValue(); static AssignerConfigurable originType();  }