You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213141516 |
-
- import java.net.InetAddress;
- import java.net.UnknownHostException;
-
- import org.aspectj.lang.annotation.Around;
- import org.aspectj.lang.annotation.Aspect;
- import org.aspectj.lang.*;
-
- @Aspect
- public class Ajava {
-
- @Around("call(public java.net.InetAddress C.getAddress() throws java.net.UnknownHostException)")
- public InetAddress getAddress() throws UnknownHostException {
- return InetAddress.getLocalHost();
- }
- }
|