public List<PropertyDescriptor> getDeclaredPropertyDescriptors() { return Arrays.asList( new PropertyDescriptor( PROP_TEXT, MidpTypes.TYPEID_JAVA_LANG_STRING, PropertyValue.createNull(), true, true, MidpVersionable.MIDP), new PropertyDescriptor( PROP_MAX_SIZE, MidpTypes.TYPEID_INT, PropertyValue.createNull(), false, true, MidpVersionable.MIDP), new PropertyDescriptor( PROP_CONSTRAINTS, MidpTypes.TYPEID_INT, PropertyValue.createNull(), false, true, MidpVersionable.MIDP), new PropertyDescriptor( PROP_INITIAL_INPUT_MODE, MidpTypes.TYPEID_JAVA_LANG_STRING, PropertyValue.createNull(), true, true, MidpVersionable.MIDP_2)); }