x7.tools.MethodParsed Maven / Gradle / Ivy
package x7.tools;
import java.lang.reflect.Method;
public class MethodParsed {
private Method method;
private String name;
private String mapping;
private String methodStr;
private String calledMethodStr;
private String intfStr;
private String fallbackStr;
private String paraName;
private String paraSimpleName;
private String paraSimpleNameLower;
private String returnStr;
private String returnType;
public MethodParsed(){}
public MethodParsed(Method method){
this.method = method;
this.name = this.method.getName();
this.mapping = "/"+this.method.getName();
}
public Method getMethod() {
return method;
}
public void setMethod(Method method) {
this.method = method;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getMapping() {
return mapping;
}
public void setMapping(String mapping) {
this.mapping = mapping;
}
public String getMethodStr() {
return methodStr;
}
public void setMethodStr(String methodStr) {
this.methodStr = methodStr;
}
public String getCalledMethodStr() {
return calledMethodStr;
}
public void setCalledMethodStr(String calledMethodStr) {
this.calledMethodStr = calledMethodStr;
}
public String getIntfStr() {
return intfStr;
}
public void setIntfStr(String intfStr) {
this.intfStr = intfStr;
}
public String getFallbackStr() {
return fallbackStr;
}
public void setFallbackStr(String fallbackStr) {
this.fallbackStr = fallbackStr;
}
public String getParaName() {
return paraName;
}
public void setParaName(String paraName) {
this.paraName = paraName;
}
public String getParaSimpleName() {
return paraSimpleName;
}
public void setParaSimpleName(String paraSimpleName) {
this.paraSimpleName = paraSimpleName;
}
public String getParaSimpleNameLower() {
return paraSimpleNameLower;
}
public void setParaSimpleNameLower(String paraSimpleNameLower) {
this.paraSimpleNameLower = paraSimpleNameLower;
}
public String getReturnStr() {
return returnStr;
}
public void setReturnStr(String returnStr) {
this.returnStr = returnStr;
}
public String getReturnType() {
return returnType;
}
public void setReturnType(String returnType) {
this.returnType = returnType;
}
@Override
public String toString() {
return "MethodParsed{" +
"method=" + method +
", name='" + name + '\'' +
", mapping='" + mapping + '\'' +
", methodStr='" + methodStr + '\'' +
", calledMethodStr='" + calledMethodStr + '\'' +
", intfStr='" + intfStr + '\'' +
", fallbackStr='" + fallbackStr + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy