* if there's a @Slot annotation which specifies the name of the slot, use it
*/
if (!Slot.USE_METHOD_NAME.equals(slotAnnotation.name())) {
slotName = slotAnnotation.name();
}
if (slotAnnotation.position() != -1) {
position = slotAnnotation.position();
orderByPosition = true;
}
if (!Slot.NULL.equals(slotAnnotation.defaultValue())) {
defaultValue = slotAnnotation.defaultValue();