1 18 19 package org.objectweb.jac.ide; 20 21 import org.objectweb.jac.util.Strings; 22 23 24 public class Parameter extends TypedElement { 25 public Parameter() { 26 type = null; 27 } 28 29 public Parameter(String name, Type type) { 30 this.name = name; 31 this.type = type; 32 type = null; 33 } 34 35 Method method; 36 public Method getMethod() { 37 return method; 38 } 39 public void setMethod(Method method) { 40 this.method = method; 41 } 42 43 public String getGenerationName() { 44 return Strings.toUSAscii(getName()); 45 } 46 } 47 48 | Popular Tags |