Add Nullable decorator to widget getter api
This commit is contained in:
@@ -486,6 +486,7 @@ public interface Client extends GameEngine
|
|||||||
* @param widget the widget info
|
* @param widget the widget info
|
||||||
* @return the widget
|
* @return the widget
|
||||||
*/
|
*/
|
||||||
|
@Nullable
|
||||||
Widget getWidget(WidgetInfo widget);
|
Widget getWidget(WidgetInfo widget);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -498,6 +499,7 @@ public interface Client extends GameEngine
|
|||||||
* @param childId the child widget ID
|
* @param childId the child widget ID
|
||||||
* @return the widget corresponding to the group and child pair
|
* @return the widget corresponding to the group and child pair
|
||||||
*/
|
*/
|
||||||
|
@Nullable
|
||||||
Widget getWidget(int groupId, int childId);
|
Widget getWidget(int groupId, int childId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user