MCPcopy Create free account
hub / github.com/ZTFtrue/My-note / main

Method main

java/Proxy AOP(Java 代理)/src/main/java/Main.java:7–11  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

5
6public class Main {
7 public static void main(String[] args) {
8// object.Greeting greeting = new JDKDynamicProxy(new object.GreetingImpl()).getProxy();
9// greeting.sayHello("Jack");
10 test();
11 }
12
13 public static void test() {
14 // 无论是静态代理或是动态代理,都要返回一个代理对象

Callers

nothing calls this directly

Calls 1

testMethod · 0.95

Tested by

no test coverage detected