boolean patchAtomicFieldUpdaterAccessorMethod(String variableName, MethodDeclaration method, String methodNameSuffix)
    {
        boolean usesFieldUpdater = false;
        String methodName = method.getNameAsString();
        if (!methodName.endsWith(methodNameSuffix)) {
            // Leave it untouched
            return false;
        }

        String newValueName = "newValue";
        if (methodName.startsWith("so") || methodName.startsWith("sp"))
        {
            /*
             * In the case of 'sp' use lazySet as the weakest
             * ordering allowed by field updaters
             */
            usesFieldUpdater = true;
            String fieldUpdaterFieldName = fieldUpdaterFieldName(variableName);

            method.setBody(fieldUpdaterLazySet(fieldUpdaterFieldName, newValueName));
        }
        else if (methodName.startsWith("cas"))
        {
            usesFieldUpdater = true;
            String fieldUpdaterFieldName = fieldUpdaterFieldName(variableName);
            String expectedValueName = "expect";
            method.setBody(
                fieldUpdaterCompareAndSet(fieldUpdaterFieldName, expectedValueName, newValueName));
        }
        else if (methodName.startsWith("sv"))
        {
            method.setBody(fieldAssignment(variableName, newValueName));
        }
        else if (methodName.startsWith("lv") || methodName.startsWith("lp"))
        {
            method.setBody(returnField(variableName));
        }
        else
        {
            throw new IllegalStateException("Unhandled method: " + methodName);
        }
        return usesFieldUpdater;
    }
When set on a method using a single line comment, the method is not patched by the generator.
jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicQueueGenerator.java