@Test(expected = IllegalStateException.class) public void testStrictCannotFindType() { new ByteBuddy() .subclass(Foo.Bar.class) .visit(TypeReferenceAdjustment.strict()) .make(TypePool.Empty.INSTANCE); }
public static TypeReferenceAdjustment strict() { return new TypeReferenceAdjustment(true, none()); }
TypeReferenceAdjustment extends AsmVisitorWrapper.AbstractBase { public static TypeReferenceAdjustment strict() { return new TypeReferenceAdjustment(true, none()); } }
TypeReferenceAdjustment extends AsmVisitorWrapper.AbstractBase { public static TypeReferenceAdjustment strict() { return new TypeReferenceAdjustment(true, none()); } protected  TypeReferenceAdjustment(boolean strict, ElementMatcher.Junction<? super TypeDescription> filter); }
TypeReferenceAdjustment extends AsmVisitorWrapper.AbstractBase { public static TypeReferenceAdjustment strict() { return new TypeReferenceAdjustment(true, none()); } 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 static TypeReferenceAdjustment strict() { return new TypeReferenceAdjustment(true, none()); } 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);  }