Package com.l2fprod.common.beans

Examples of com.l2fprod.common.beans.BaseBeanInfo.addProperty()


  }

  private final BeanInfo getAnnotationBeanInfo(List<Field> pFields) {
    BaseBeanInfo res = new BaseBeanInfo(this.getClass());
    for (Field field : pFields) {
      ExtendedPropertyDescriptor propDesc = res.addProperty(field.getName());
      Property propAnno = field.getAnnotation(Property.class);
      if (propAnno.description().length() > 0)
        propDesc.setShortDescription(propAnno.description());
      propDesc.setCategory(propAnno.category().toString());
      if (propAnno.editorClass() != Property.DEFAULT.class)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.