content: package at.alirezamoh.whisperer_for_laravel.actions.models.dataTables;
  
  import java.util.ArrayList;
  import java.util.List;
  
  public class Method {
      private String name;
  
      private String returnType;
  
      private String see;
  
      private List<Parameter> parameters;
  
      public Method() {
          this.parameters = new ArrayList<>();
      }
  
      public Method(String name) {
          this.name = name;
          this.parameters = new ArrayList<>();
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public String getReturnType() {
          return returnType;
      }
  
      public void setReturnType(String returnType) {
          this.returnType = returnType;
      }
  
      public String getSee() {
          return see;
      }
  
      public void setSee(String see) {
          this.see = see;
      }
  
      public List<Parameter> getParameters() {
          return parameters;
      }
  
      public void setParameters(List<Parameter> parameters) {
          this.parameters = parameters;
      }
  
      public void addParameter(String name, String type, String defaultValue) {
          this.parameters.add(new Parameter(name, type, defaultValue));
      }
  
      public void addParameter(String text) {
          this.parameters.add(new Parameter(text));
      }
  
      public void addParameter(Parameter parameter) {
          this.parameters.add(parameter);
      }
  }
  