If your code references an undeclared method or field, you can quickly declare it. To declare a method with a correct signature or type, press and select Create method <method_name>.