Add Nullable decorator to widget getter api

This commit is contained in:
Paulo Cabral Sanz
2020-07-09 23:32:58 -03:00
committed by Adam
parent 122f74ae80
commit a2118a57d8

View File

@@ -486,6 +486,7 @@ public interface Client extends GameEngine
* @param widget the widget info
* @return the widget
*/
@Nullable
Widget getWidget(WidgetInfo widget);
/**
@@ -498,6 +499,7 @@ public interface Client extends GameEngine
* @param childId the child widget ID
* @return the widget corresponding to the group and child pair
*/
@Nullable
Widget getWidget(int groupId, int childId);
/**