se.bjurr.jmib.model.ClassMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-method-invocation-builder Show documentation
Show all versions of java-method-invocation-builder Show documentation
Generates builders for invoking methods on instantiated objects
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
+ "]";
}
}