Smart Method doc for Ref | 方法引用智能注释
This commit is contained in:
@@ -11,9 +11,9 @@ public class Ref implements Face {
|
||||
Child child = new Child(true);
|
||||
Child field = child.field.field;
|
||||
boolean bool = child.field.bool;
|
||||
Face fun = Child::fun;
|
||||
Face fun = Child::setFun;
|
||||
child
|
||||
.faceMethod(face1 -> Child::fun);
|
||||
.faceMethod(face1 -> Child::setFun);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -22,9 +22,10 @@ public class Child extends Parent implements Face {
|
||||
return null;
|
||||
}
|
||||
|
||||
/** String fun */
|
||||
public String fun;
|
||||
|
||||
/** fun */
|
||||
public static Face fun(Face face) {
|
||||
public static Face setFun(Face face) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user