aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr148007/purejava/test/LoggingAspect.java
blob: 4b265eb6da9519a49e0fc42fc4b882e747dfe1cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package test;

import org.aspectj.lang.NoAspectBoundException;

public class LoggingAspect {
	
	private static LoggingAspect ajc$perSingletonInstance;
	private static Throwable ajc$initFailureCause;
	
	static {
		try {
			ajc$postClinit();
		}
		catch (Throwable t) {
			ajc$initFailureCause = t;
		}
	}
	
	public static LoggingAspect aspectOf() {
		if (ajc$perSingletonInstance == null) {
			throw new NoAspectBoundException("test_LoggingAspect",ajc$initFailureCause);
		}
		return ajc$perSingletonInstance;
	}
	
    public void ajc$afterReturning$test_LoggingAspect$1$188fbb36()  {
    }
    
    private static void ajc$postClinit() {
    	ajc$perSingletonInstance = new LoggingAspect();
    }
}