All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thoughtworks.qdox.model.annotation.AnnotationOr Maven / Gradle / Ivy

Go to download

QDox is a high speed, small footprint parser for extracting class/interface/method definitions from source files complete with JavaDoc @tags. It is designed to be used by active code generators or documentation tools.

There is a newer version: 2.1.0
Show newest version
package com.thoughtworks.qdox.model.annotation;

public class AnnotationOr extends AnnotationBinaryOperator {

    public AnnotationOr( AnnotationValue left, AnnotationValue right ) {
        super( left, right );
    }

    public String toString() {
        return getLeft().toString() + " | " + getRight().toString();
    }

    public Object accept( AnnotationVisitor visitor ) {
        return visitor.visitAnnotationOr( this );
    }

    public Object getParameterValue() {
        return getLeft().getParameterValue() + " | " + getRight().getParameterValue();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy