public static < T > Constructor < T > getConstructor ( Class < T > instantiable , Class < ? > ... constructorParameterTypes ) { try { return instantiable . getConstructor ( constructorParameterTypes ) ; } catch ( NoSuchMethodException ignored ) { return ReflectionHelper . searchForConstructor ( instantiable , constructorParameterTypes ) ; } }
These are special methods that will not produce error messages if the getter method is not found