class SingleMemberAnnotationExpr extends AnnotationExpr {

    private Expression memberValue;

    public SingleMemberAnnotationExpr() {
        this(null, new Name(), new StringLiteralExpr());
    }

    @AllFieldsConstructor
    public SingleMemberAnnotationExpr(final Name name, final Expression memberValue) {
        this(null, name, memberValue);
    }

    /**
     * This constructor is used by the parser and is considered private.
     */
    @Generated("com.github.javaparser.generator.core.node.MainConstructorGenerator")
    public SingleMemberAnnotationExpr(TokenRange tokenRange, Name name, Expression memberValue) {
        super(tokenRange, name);
        setMemberValue(memberValue);
        customInitialization();
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.AcceptGenerator")
    public <R, A> R accept(final GenericVisitor<R, A> v, final A arg) {
        return v.visit(this, arg);
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.AcceptGenerator")
    public <A> void accept(final VoidVisitor<A> v, final A arg) {
        v.visit(this, arg);
    }

    @Generated("com.github.javaparser.generator.core.node.PropertyGenerator")
    public Expression getMemberValue() {
        return memberValue;
    }

    @Generated("com.github.javaparser.generator.core.node.PropertyGenerator")
    public SingleMemberAnnotationExpr setMemberValue(final Expression memberValue) {
        assertNotNull(memberValue);
        if (memberValue == this.memberValue) {
            return this;
        }
        notifyPropertyChange(ObservableProperty.MEMBER_VALUE, this.memberValue, memberValue);
        if (this.memberValue != null)
            this.memberValue.setParentNode(null);
        this.memberValue = memberValue;
        setAsParentNodeOf(memberValue);
        return this;
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.CloneGenerator")
    public SingleMemberAnnotationExpr clone() {
        return (SingleMemberAnnotationExpr) accept(new CloneVisitor(), null);
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.GetMetaModelGenerator")
    public SingleMemberAnnotationExprMetaModel getMetaModel() {
        return JavaParserMetaModel.singleMemberAnnotationExprMetaModel;
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.ReplaceMethodGenerator")
    public boolean replace(Node node, Node replacementNode) {<FILL_FUNCTION_BODY>}

    @Override
    @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
    public boolean isSingleMemberAnnotationExpr() {
        return true;
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
    public SingleMemberAnnotationExpr asSingleMemberAnnotationExpr() {
        return this;
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
    public void ifSingleMemberAnnotationExpr(Consumer<SingleMemberAnnotationExpr> action) {
        action.accept(this);
    }

    @Override
    @Generated("com.github.javaparser.generator.core.node.TypeCastingGenerator")
    public Optional<SingleMemberAnnotationExpr> toSingleMemberAnnotationExpr() {
        return Optional.of(this);
    }
}

        if (node == null) {
            return false;
        }
        if (node == memberValue) {
            setMemberValue((Expression) replacementNode);
            return true;
        }
        return super.replace(node, replacementNode);
    
<methods>public void <init>() ,public void <init>(com.github.javaparser.ast.expr.Name) ,public void <init>(com.github.javaparser.TokenRange, com.github.javaparser.ast.expr.Name) ,public com.github.javaparser.ast.expr.AnnotationExpr asAnnotationExpr() ,public com.github.javaparser.ast.expr.AnnotationExpr clone() ,public com.github.javaparser.metamodel.AnnotationExprMetaModel getMetaModel() ,public com.github.javaparser.ast.expr.Name getName() ,public void ifAnnotationExpr(Consumer<com.github.javaparser.ast.expr.AnnotationExpr>) ,public boolean isAnnotationExpr() ,public boolean replace(com.github.javaparser.ast.Node, com.github.javaparser.ast.Node) ,public com.github.javaparser.resolution.declarations.ResolvedAnnotationDeclaration resolve() ,public com.github.javaparser.ast.expr.AnnotationExpr setName(com.github.javaparser.ast.expr.Name) ,public Optional<com.github.javaparser.ast.expr.AnnotationExpr> toAnnotationExpr() <variables>protected com.github.javaparser.ast.expr.Name name