1 17 18 package javax.el; 19 20 23 public class MethodInfo { 24 25 private final String name; 26 27 private final Class <?>[] paramTypes; 28 29 private final Class <?> returnType; 30 31 34 public MethodInfo(String name, Class <?> returnType, Class <?>[] paramTypes) { 35 this.name = name; 36 this.returnType = returnType; 37 this.paramTypes = paramTypes; 38 } 39 40 public String getName() { 41 return this.name; 42 } 43 44 public Class <?>[] getParamTypes() { 45 return this.paramTypes; 46 } 47 48 public Class <?> getReturnType() { 49 return this.returnType; 50 } 51 52 } 53 | Popular Tags |