/** * Adds a constructor to this class. * * @param mods * Modifiers for this constructor */ public JMethod constructor(int mods) { JMethod c = new JMethod(mods, this); constructors.add(c); return c; }
/** * Adds a constructor to this class. * * @param mods * Modifiers for this constructor */ public JMethod constructor(int mods) { JMethod c = new JMethod(mods, this); constructors.add(c); return c; }
/** * Adds a constructor to this class. * * @param mods * Modifiers for this constructor */ public JMethod constructor(int mods) { JMethod c = new JMethod(mods, this); constructors.add(c); return c; }
/** * Adds a constructor to this class. * * @param mods * Modifiers for this constructor */ public JMethod constructor(int mods) { JMethod c = new JMethod(mods, this); constructors.add(c); return c; }
/** * Adds a constructor to this class. * * @param mods * Modifiers for this constructor */ public JMethod constructor(int mods) { JMethod c = new JMethod(mods, this); constructors.add(c); return c; }
/** * Add a method to the list of method members of this JDefinedClass instance. * * @param mods * Modifiers for this method * * @param type * Return type for this method * * @param name * Name of the method * * @return Newly generated JMethod */ public JMethod method(int mods, JType type, String name) { // XXX problems caught in M constructor JMethod m = new JMethod(this, mods, type, name); methods.add(m); return m; }
/** * Add a method to the list of method members of this JDefinedClass instance. * * @param mods * Modifiers for this method * * @param type * Return type for this method * * @param name * Name of the method * * @return Newly generated JMethod */ public JMethod method(int mods, JType type, String name) { // XXX problems caught in M constructor JMethod m = new JMethod(this, mods, type, name); methods.add(m); return m; }
/** * Add a method to the list of method members of this JDefinedClass instance. * * @param mods * Modifiers for this method * * @param type * Return type for this method * * @param name * Name of the method * * @return Newly generated JMethod */ public JMethod method(int mods, JType type, String name) { // XXX problems caught in M constructor JMethod m = new JMethod(this, mods, type, name); methods.add(m); return m; }
/** * Add a method to the list of method members of this JDefinedClass instance. * * @param mods * Modifiers for this method * * @param type * Return type for this method * * @param name * Name of the method * * @return Newly generated JMethod */ public JMethod method(int mods, JType type, String name) { // XXX problems caught in M constructor JMethod m = new JMethod(this, mods, type, name); methods.add(m); return m; }
/** * Add a method to the list of method members of this JDefinedClass instance. * * @param mods * Modifiers for this method * * @param type * Return type for this method * * @param name * Name of the method * * @return Newly generated JMethod */ public JMethod method(int mods, JType type, String name) { // XXX problems caught in M constructor JMethod m = new JMethod(this, mods, type, name); methods.add(m); return m; }