37383940414243444546
public static InputType getInputType(InputComponent<?, ?> input) { InputType result = null; if (input.hasFacet(HintsFacet.class)) { HintsFacet facet = input.getFacet(HintsFacet.class); result = facet.getInputType(); } return result; }