mirror of
https://gitee.com/BDWare/common
synced 2025-01-25 01:04:16 +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 String functionName;
|
||||
public RouteInfo routeInfo;
|
||||
public boolean isView;
|
||||
|
||||
public FunctionDesp(String name, List<AnnotationNode> anno, RouteInfo routeInfo) {
|
||||
functionName = name;
|
||||
annotations = anno;
|
||||
public FunctionDesp(String name, List<AnnotationNode> annos, RouteInfo routeInfo, boolean isView) {
|
||||
this.functionName = name;
|
||||
this.annotations = annos;
|
||||
this.routeInfo = routeInfo;
|
||||
this.isView = isView;
|
||||
}
|
||||
|
||||
public RouteInfo getRoute() {
|
||||
|
Loading…
Reference in New Issue
Block a user