mirror of
https://gitee.com/BDWare/common
synced 2025-01-26 09:44:12 +00:00
feat: add isView in FunctionDesp
add FunctionDesp.isView to tell contract manager if the function is view
This commit is contained in:
parent
9fbca75af8
commit
3edd64ff36
@ -9,11 +9,13 @@ public class FunctionDesp implements Serializable {
|
|||||||
public List<AnnotationNode> annotations;
|
public List<AnnotationNode> annotations;
|
||||||
public String functionName;
|
public String functionName;
|
||||||
public RouteInfo routeInfo;
|
public RouteInfo routeInfo;
|
||||||
|
public boolean isView;
|
||||||
|
|
||||||
public FunctionDesp(String name, List<AnnotationNode> anno, RouteInfo routeInfo) {
|
public FunctionDesp(String name, List<AnnotationNode> annos, RouteInfo routeInfo, boolean isView) {
|
||||||
functionName = name;
|
this.functionName = name;
|
||||||
annotations = anno;
|
this.annotations = annos;
|
||||||
this.routeInfo = routeInfo;
|
this.routeInfo = routeInfo;
|
||||||
|
this.isView = isView;
|
||||||
}
|
}
|
||||||
|
|
||||||
public RouteInfo getRoute() {
|
public RouteInfo getRoute() {
|
||||||
|
Loading…
Reference in New Issue
Block a user