Package org.ajax4jsf.builder.model

Examples of org.ajax4jsf.builder.model.JavaMethod


   
    return accessor;
  }
 
  protected JavaMethod getMutator(JSFGeneratorConfiguration configuration, PropertyBean propertyBean, final JavaField field) {
    JavaMethod mutator =
      new JavaMethod(propertyBean.getSetterName(),
          new Argument(field.getName(), field.getType()));
   
    mutator.setMethodBody(new MethodBody(mutator) {
      @Override
      public String toCode() {
        return "this."  + field.getName() + " = " + field.getName() + ";";
      }
    });
   
    handleDeprecation(field.getType(), mutator);
    mutator.addModifier(JavaModifier.PUBLIC);
    return mutator;
  }
View Full Code Here

TOP

Related Classes of org.ajax4jsf.builder.model.JavaMethod

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.