All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.bjurr.jmib.model.ClassMethod Maven / Gradle / Ivy

There is a newer version: 1.4
Show newest version
package se.bjurr.jmib.model;

import java.util.List;
import javax.lang.model.type.TypeMirror;

public class ClassMethod {

  private final String name;
  private final List parameters;
  private final TypeMirror returnType;

  public ClassMethod(String name, TypeMirror returnType, List parameters) {
    this.name = name;
    this.returnType = returnType;
    this.parameters = parameters;
  }

  public String getName() {
    return this.name;
  }

  public List getParameters() {
    return this.parameters;
  }

  public TypeMirror getReturnType() {
    return this.returnType;
  }

  @Override
  public String toString() {
    return "ClassMethod [name="
        + this.name
        + ", parameters="
        + this.parameters
        + ", returnType="
        + this.returnType
        + "]";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy