Show JavaMethodParameter.java syntax highlighted
package ca.ucalgary.cpsc.ebe.fitClipse.javaSourceModification;
public class JavaMethodParameter {
private String name;
private String type;
public JavaMethodParameter(){
}
public JavaMethodParameter(String name, String type){
this.name = name;
this.type=type;
}
public void setName(String name){
this.name = name;
}
public void setType(String type){
this.type= type;
}
public String getType(){
return this.type;
}
public String render(){
StringBuffer result = new StringBuffer();
result.append(type + " " + name);
return result.toString();
}
}
See more files for this project here