Examples of ChildPropertyDescriptor


Examples of org.eclipse.jdt.core.dom.ChildPropertyDescriptor

          valueType = Integer.class;
        } else if (valueType == boolean.class) {
          valueType = Boolean.class;
        }
      } else {
        ChildPropertyDescriptor p = (ChildPropertyDescriptor) prop;
        valueType = p.getChildType();
      }
      if (!valueType.isAssignableFrom(value.getClass())) {
        String message = value.getClass().getName() + " is not a valid type for " + prop.getNodeClass().getName() //$NON-NLS-1$
            + " property '" + prop.getId() + '\''; //$NON-NLS-1$
        throw new IllegalArgumentException(message);
View Full Code Here

Examples of org.eclipse.jdt.core.dom.ChildPropertyDescriptor

          valueType = Integer.class;
        } else if (valueType == boolean.class) {
          valueType = Boolean.class;
        }
      } else {
        ChildPropertyDescriptor p = (ChildPropertyDescriptor) prop;
        valueType = p.getChildType();
      }
      if (!valueType.isAssignableFrom(value.getClass())) {
        String message = value.getClass().getName() + " is not a valid type for " + prop.getNodeClass().getName() //$NON-NLS-1$
            + " property '" + prop.getId() + '\''; //$NON-NLS-1$
        throw new IllegalArgumentException(message);
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.