diff --git a/java/openapi/src/com/intellij/psi/util/PropertyUtil.java b/java/openapi/src/com/intellij/psi/util/PropertyUtil.java index b28d808c2a35..8eb5f2039556 100644 --- a/java/openapi/src/com/intellij/psi/util/PropertyUtil.java +++ b/java/openapi/src/com/intellij/psi/util/PropertyUtil.java @@ -79,7 +79,8 @@ public class PropertyUtil { String methodName = method.getName(); if (!(methodName.startsWith("set") && methodName.length() > "set".length())) return false; - if (Character.isLowerCase(methodName.charAt("set".length()))) return false; + if (Character.isLowerCase(methodName.charAt("set".length())) + && (methodName.length() == "set".length() + 1 || Character.isLowerCase(methodName.charAt("set".length() + 1)))) return false; if (method.getParameterList().getParametersCount() != 1) { return false;