try to return the current aop proxy . this method is usable only if the calling method has been invoked via aop , and the aop framework has been set to expose proxies . otherwise , this method will throw an illegalstateexception . concode_field_sep ThreadLocal<Object> currentProxy concode_field_sep Object setCurrentProxy
Object function ( ) { Object loc0 = currentProxy . get ( ) ; if ( loc0 == null ) { throw new IllegalStateException ( "srini_string" ) ; } return loc0 ; }