Compiled from "LogAspect.aj" public class io.github.wikimore.ajtest.aspectj.config.LogAspect extends java.lang.Object{ public static final io.github.wikimore.ajtest.aspectj.config.LogAspect ajc$perSingletonInstance; static {}; public io.github.wikimore.ajtest.aspectj.config.LogAspect(); void ajc$pointcut$$beforeExecute$5f(); public java.lang.Object ajc$around$io_github_wikimore_ajtest_aspectj_config_LogAspect$1$c5f6d277(org.aspectj.runtime.internal.AroundClosure) throws java.lang.RuntimeException; static java.lang.Object ajc$around$io_github_wikimore_ajtest_aspectj_config_LogAspect$1$c5f6d277proceed(org.aspectj.runtime.internal.AroundClosure) throws java.lang.Throwable; public static io.github.wikimore.ajtest.aspectj.config.LogAspect aspectOf(); public static boolean hasAspect(); }
Compiled from "Log4jAspect.aj" public class io.github.wikimore.ajtest.aspectj.config.Log4jAspect { public static final io.github.wikimore.ajtest.aspectj.config.Log4jAspect ajc$perSingletonInstance; static {}; public io.github.wikimore.ajtest.aspectj.config.Log4jAspect(); void ajc$pointcut$$beforeExecute$61(); public java.lang.Object ajc$around$io_github_wikimore_ajtest_aspectj_config_Log4jAspect$1$c5f6d277(org.aspectj.runtime.internal.AroundClosure) throws java.lang.Throwable; static java.lang.Object ajc$around$io_github_wikimore_ajtest_aspectj_config_Log4jAspect$1$c5f6d277proceed(org.aspectj.runtime.internal.AroundClosure) throws java.lang.Throwable; public static io.github.wikimore.ajtest.aspectj.config.Log4jAspect aspectOf(); public static boolean hasAspect(); }
[AppClassLoader@40affc70] info AspectJ Weaver Version 1.7.3 built on Thursday Jun 13, 2013 at 19:41:31 GMT [AppClassLoader@40affc70] info register classloader sun.misc.Launcher$AppClassLoader@40affc70 [AppClassLoader@40affc70] info using configuration /Users/nali/dev/frmworkspace/ajtest/target/classes/META-INF/aop.xml [AppClassLoader@40affc70] info register aspect io.github.wikimore.ajtest.aspectj.config.Log4jAspect [AppClassLoader@40affc70] info register aspect io.github.wikimore.ajtest.aspectj.config.LogAspect [AppClassLoader@40affc70] info processing reweavable type io.github.wikimore.ajtest.App: io/github/wikimore/ajtest/App.java [AppClassLoader@40affc70] info successfully verified type io.github.wikimore.ajtest.aspectj.config.LogAspect exists. Originates from io/github/wikimore/ajtest/aspectj/config/Users/nali/dev/frmworkspace/ajtest/src/main/java/io/github/wikimore/ajtest/aspectj/config/LogAspect.aj [AppClassLoader@40affc70] weaveinfo Join point 'method-call(void io.github.wikimore.ajtest.Log.log(java.lang.String))' in Type 'io.github.wikimore.ajtest.App' (App.java:14) advised by around advice from 'io.github.wikimore.ajtest.aspectj.config.LogAspect' (LogAspect.aj:7) [AppClassLoader@40affc70] error at org/apache/log4j/helpers/AppenderAttachableImpl.java:66::0 can't throw checked exception 'java.lang.Throwable' at this join point 'method-call(void org.apache.log4j.Appender.doAppend(org.apache.log4j.spi.LoggingEvent))' [AppClassLoader@40affc70] error at io/github/wikimore/ajtest/aspectj/config/Users/nali/dev/frmworkspace/ajtest/src/main/java/io/github/wikimore/ajtest/aspectj/config/Log4jAspect.aj:7::0 can't throw checked exception 'java.lang.Throwable' at this join point 'method-call(void org.apache.log4j.Appender.doAppend(org.apache.log4j.spi.LoggingEvent))' [AppClassLoader@40affc70] weaveinfo Join point 'method-call(void org.apache.log4j.Appender.doAppend(org.apache.log4j.spi.LoggingEvent))' in Type 'org.apache.log4j.helpers.AppenderAttachableImpl' (AppenderAttachableImpl.java:66) advised by around advice from 'io.github.wikimore.ajtest.aspectj.config.Log4jAspect' (Log4jAspect.aj:7) [AppClassLoader@40affc70] info processing reweavable type io.github.wikimore.ajtest.aspectj.config.Log4jAspect: io/github/wikimore/ajtest/aspectj/config/Log4jAspect.aj before log4j log ERROR (AspectJ:13) - message after log4j log [AppClassLoader@40affc70] info processing reweavable type io.github.wikimore.ajtest.aspectj.config.LogAspect: io/github/wikimore/ajtest/aspectj/config/LogAspect.aj before log log ---> lllllll after log
The Byte Code Engineering Library (Apache Commons BCEL™) is intended to give users a convenient way to analyze, create, and manipulate (binary) Java class files (those ending with .class). Classes are represented by objects which contain all the symbolic information of the given class: methods, fields and byte code instructions, in particular.