com.thoughtworks.qdox.model.annotation.AnnotationOr Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qdox Show documentation
Show all versions of qdox Show documentation
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.
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();
}
}