should getSupportedContraints be static?

all examples are wrong otherwise.