summaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr135068/t/Ajava.java
blob: fc519368bc61c8567cd7c95a4389a1ad5e23295d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package t;

import java.net.InetAddress;
import java.net.UnknownHostException;

import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;

@Aspect
public class Ajava {

	@Around("call(public java.net.InetAddress t.C.getAddress() throws java.net.UnknownHostException)")
	public InetAddress getAddress() throws UnknownHostException {
		return InetAddress.getLocalHost();
	}
}