PsiType () { PsiType type; if (PropertyUtilBase.isSimplePropertyGetter(myMethod, myAcceptBoxedBooleanIsPrefix)) { type = myMethod.getReturnType(); } else if (PropertyUtilBase.isSimplePropertySetter(myMethod)) { type = myMethod.getParameterList().getParameters()[0].getType(); } else { type = null; } assert type != null; return type; }