1 22 package org.jboss.ejb3.metamodel; 23 24 import java.util.ArrayList ; 25 import java.util.List ; 26 import org.jboss.logging.Logger; 27 28 35 public class MethodAttributes 36 { 37 private static final Logger log = Logger.getLogger(MethodAttributes.class); 38 39 private List <Method> methods = new ArrayList (); 40 41 public List <Method> getMethods() 42 { 43 return methods; 44 } 45 46 public void addMethod(Method method) 47 { 48 methods.add(method); 49 } 50 51 public String toString() 52 { 53 StringBuffer sb = new StringBuffer (100); 54 sb.append("["); 55 sb.append("methods=").append(methods); 56 sb.append("]"); 57 return sb.toString(); 58 } 59 } 60 | Popular Tags |