@Test(expected = IllegalStateException.class) public void testInlineAdviceCannotWriteThrow() throws Exception { Advice.to(IllegalThrowWritableInlineAdvice.class); }
public static Advice to(Class<?> advice) { return to(advice, ClassFileLocator.ForClassLoader.of(advice.getClassLoader())); }
Advice implements AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper, Implementation { public static Advice to(Class<?> advice) { return to(advice, ClassFileLocator.ForClassLoader.of(advice.getClassLoader())); } }
Advice implements AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper, Implementation { public static Advice to(Class<?> advice) { return to(advice, ClassFileLocator.ForClassLoader.of(advice.getClassLoader())); } protected  Advice(Dispatcher.Resolved.ForMethodEnter methodEnter, Dispatcher.Resolved.ForMethodExit methodExit); private  Advice(Dispatcher.Resolved.ForMethodEnter methodEnter,
                   Dispatcher.Resolved.ForMethodExit methodExit,
                   Assigner assigner,
                   ExceptionHandler exceptionHandler,
                   Implementation delegate); }
Advice implements AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper, Implementation { public static Advice to(Class<?> advice) { return to(advice, ClassFileLocator.ForClassLoader.of(advice.getClassLoader())); } protected  Advice(Dispatcher.Resolved.ForMethodEnter methodEnter, Dispatcher.Resolved.ForMethodExit methodExit); private  Advice(Dispatcher.Resolved.ForMethodEnter methodEnter,
                   Dispatcher.Resolved.ForMethodExit methodExit,
                   Assigner assigner,
                   ExceptionHandler exceptionHandler,
                   Implementation delegate); static Advice to(Class<?> advice); static Advice to(Class<?> advice, ClassFileLocator classFileLocator); static Advice to(TypeDescription advice); static Advice to(TypeDescription advice, ClassFileLocator classFileLocator); static Advice to(Class<?> enterAdvice, Class<?> exitAdvice); static Advice to(Class<?> enterAdvice, Class<?> exitAdvice, ClassFileLocator classFileLocator); static Advice to(TypeDescription enterAdvice, TypeDescription exitAdvice); static Advice to(TypeDescription enterAdvice, TypeDescription exitAdvice, ClassFileLocator classFileLocator); static WithCustomMapping withCustomMapping(); AsmVisitorWrapper.ForDeclaredMethods on(ElementMatcher<? super MethodDescription> matcher); MethodVisitor wrap(TypeDescription instrumentedType,
                              MethodDescription instrumentedMethod,
                              MethodVisitor methodVisitor,
                              Implementation.Context implementationContext,
                              TypePool typePool,
                              int writerFlags,
                              int readerFlags); InstrumentedType prepare(InstrumentedType instrumentedType); ByteCodeAppender appender(Target implementationTarget); Advice withAssigner(Assigner assigner); Advice withExceptionPrinting(); Advice withExceptionHandler(StackManipulation exceptionHandler); Advice withExceptionHandler(ExceptionHandler exceptionHandler); Implementation wrap(Implementation implementation); }
Advice implements AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper, Implementation { public static Advice to(Class<?> advice) { return to(advice, ClassFileLocator.ForClassLoader.of(advice.getClassLoader())); } protected  Advice(Dispatcher.Resolved.ForMethodEnter methodEnter, Dispatcher.Resolved.ForMethodExit methodExit); private  Advice(Dispatcher.Resolved.ForMethodEnter methodEnter,
                   Dispatcher.Resolved.ForMethodExit methodExit,
                   Assigner assigner,
                   ExceptionHandler exceptionHandler,
                   Implementation delegate); static Advice to(Class<?> advice); static Advice to(Class<?> advice, ClassFileLocator classFileLocator); static Advice to(TypeDescription advice); static Advice to(TypeDescription advice, ClassFileLocator classFileLocator); static Advice to(Class<?> enterAdvice, Class<?> exitAdvice); static Advice to(Class<?> enterAdvice, Class<?> exitAdvice, ClassFileLocator classFileLocator); static Advice to(TypeDescription enterAdvice, TypeDescription exitAdvice); static Advice to(TypeDescription enterAdvice, TypeDescription exitAdvice, ClassFileLocator classFileLocator); static WithCustomMapping withCustomMapping(); AsmVisitorWrapper.ForDeclaredMethods on(ElementMatcher<? super MethodDescription> matcher); MethodVisitor wrap(TypeDescription instrumentedType,
                              MethodDescription instrumentedMethod,
                              MethodVisitor methodVisitor,
                              Implementation.Context implementationContext,
                              TypePool typePool,
                              int writerFlags,
                              int readerFlags); InstrumentedType prepare(InstrumentedType instrumentedType); ByteCodeAppender appender(Target implementationTarget); Advice withAssigner(Assigner assigner); Advice withExceptionPrinting(); Advice withExceptionHandler(StackManipulation exceptionHandler); Advice withExceptionHandler(ExceptionHandler exceptionHandler); Implementation wrap(Implementation implementation);  }