@Test public void testFilter() { new ByteBuddy() .subclass(Foo.Bar.class) .visit(new AssertionVisitorWrapper(true, Foo.class)) .visit(TypeReferenceAdjustment.strict().filter(is(Foo.class))) .make(); }
public TypeReferenceAdjustment filter(ElementMatcher<? super TypeDescription> filter) { return new TypeReferenceAdjustment(strict, this.filter.<TypeDescription>or(filter)); }
TypeReferenceAdjustment extends AsmVisitorWrapper.AbstractBase { public TypeReferenceAdjustment filter(ElementMatcher<? super TypeDescription> filter) { return new TypeReferenceAdjustment(strict, this.filter.<TypeDescription>or(filter)); } }
TypeReferenceAdjustment extends AsmVisitorWrapper.AbstractBase { public TypeReferenceAdjustment filter(ElementMatcher<? super TypeDescription> filter) { return new TypeReferenceAdjustment(strict, this.filter.<TypeDescription>or(filter)); } protected  TypeReferenceAdjustment(boolean strict, ElementMatcher.Junction<? super TypeDescription> filter); }
TypeReferenceAdjustment extends AsmVisitorWrapper.AbstractBase { public TypeReferenceAdjustment filter(ElementMatcher<? super TypeDescription> filter) { return new TypeReferenceAdjustment(strict, this.filter.<TypeDescription>or(filter)); } protected  TypeReferenceAdjustment(boolean strict, ElementMatcher.Junction<? super TypeDescription> filter); static TypeReferenceAdjustment strict(); static TypeReferenceAdjustment relaxed(); TypeReferenceAdjustment filter(ElementMatcher<? super TypeDescription> filter); ClassVisitor wrap(TypeDescription instrumentedType,
                             ClassVisitor classVisitor,
                             Implementation.Context implementationContext,
                             TypePool typePool,
                             FieldList<FieldDescription.InDefinedShape> fields,
                             MethodList<?> methods,
                             int writerFlags,
                             int readerFlags); }
TypeReferenceAdjustment extends AsmVisitorWrapper.AbstractBase { public TypeReferenceAdjustment filter(ElementMatcher<? super TypeDescription> filter) { return new TypeReferenceAdjustment(strict, this.filter.<TypeDescription>or(filter)); } protected  TypeReferenceAdjustment(boolean strict, ElementMatcher.Junction<? super TypeDescription> filter); static TypeReferenceAdjustment strict(); static TypeReferenceAdjustment relaxed(); TypeReferenceAdjustment filter(ElementMatcher<? super TypeDescription> filter); ClassVisitor wrap(TypeDescription instrumentedType,
                             ClassVisitor classVisitor,
                             Implementation.Context implementationContext,
                             TypePool typePool,
                             FieldList<FieldDescription.InDefinedShape> fields,
                             MethodList<?> methods,
                             int writerFlags,
                             int readerFlags);  }