<BUG>JCVariableDecl fieldDecl = (JCVariableDecl)fieldNode.get();</BUG><CONTEXT>public void createSetterForField(AccessLevel level, JavacNode fieldNode, JavacNode sourceNode, boolean whineIfExists, List<JCAnnotation> onMethod, List<JCAnnotation> onParam) {if (fieldNode.getKind() != Kind.FIELD) {fieldNode.addError("@Setter is only supported on a class or a field.");return;}<extra_id_0>String methodName = toSetterName(fieldNode);if (methodName == null) {fieldNode.addWarning("Not generating setter for this field: It does not fit your @Accessors prefix list.");</CONTEXT>
JCVariableDecl fieldDecl = (JCVariableDecl) fieldNode.get();