- Revision
- 1072
- Author
- rfscholte
- Date
- 2011-02-22 09:44:38 -0600 (Tue, 22 Feb 2011)
Log Message
Remove unused RecursiveAnnotationVisitor (replaced by AnnotationTransformer)
Removed Paths
Diff
Deleted: trunk/qdox/src/java/com/thoughtworks/qdox/parser/_expression_/RecursiveAnnotationVisitor.java (1071 => 1072)
--- trunk/qdox/src/java/com/thoughtworks/qdox/parser/_expression_/RecursiveAnnotationVisitor.java 2011-02-22 13:15:27 UTC (rev 1071) +++ trunk/qdox/src/java/com/thoughtworks/qdox/parser/_expression_/RecursiveAnnotationVisitor.java 2011-02-22 15:44:38 UTC (rev 1072) @@ -1,230 +0,0 @@ -package com.thoughtworks.qdox.parser._expression_; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import com.thoughtworks.qdox.model.Annotation; - -public class RecursiveAnnotationVisitor implements AnnotationVisitor { - - public Object visitAnnotation( Annotation annotation ) { - for( AnnotationValue value : annotation.getPropertyMap().values()) { - value.accept( this ); - } - return null; - } - - public Object visitAnnotationAdd( AnnotationAdd op ) { - op.getLeft().accept( this ); - op.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationConstant( AnnotationConstant constant ) { - return null; - } - - public Object visitAnnotationDivide( AnnotationDivide op ) { - op.getLeft().accept( this ); - op.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationFieldRef( AnnotationFieldRef fieldRef ) { - return null; - } - - public Object visitAnnotationGreaterThan( AnnotationGreaterThan op ) { - op.getLeft().accept( this ); - op.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationLessThan( AnnotationLessThan op ) { - op.getLeft().accept( this ); - op.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationMultiply( AnnotationMultiply op ) { - op.getLeft().accept( this ); - op.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationParenExpression( AnnotationParenExpression parenExpression ) { - parenExpression.getValue().accept( this ); - - return null; - } - - public Object visitAnnotationSubtract( AnnotationSubtract op ) { - op.getLeft().accept( this ); - op.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationTypeRef( AnnotationTypeRef typeRef ) { - return null; - } - - public Object visitAnnotationValueList( AnnotationValueList valueList ) { - for( AnnotationValue value : valueList.getValueList() ) { - value.accept( this ); - } - - return null; - } - - public Object visitAnnotationAnd( AnnotationAnd and ) { - and.getLeft().accept( this ); - and.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationGreaterEquals( AnnotationGreaterEquals greaterEquals ) { - greaterEquals.getLeft().accept( this ); - greaterEquals.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationLessEquals( AnnotationLessEquals lessEquals ) { - lessEquals.getLeft().accept( this ); - lessEquals.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationLogicalAnd( AnnotationLogicalAnd and ) { - and.getLeft().accept( this ); - and.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationLogicalNot( AnnotationLogicalNot not ) { - not.getValue().accept( this ); - - return null; - } - - public Object visitAnnotationLogicalOr( AnnotationLogicalOr or ) { - or.getLeft().accept( this ); - or.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationMinusSign( AnnotationMinusSign sign ) { - sign.getValue().accept( this ); - - return null; - } - - public Object visitAnnotationNot( AnnotationNot not ) { - not.getValue().accept( this ); - - return null; - } - - public Object visitAnnotationOr( AnnotationOr or ) { - or.getLeft().accept( this ); - or.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationPlusSign( AnnotationPlusSign sign ) { - sign.getValue().accept( this ); - - return null; - } - - public Object visitAnnotationRemainder( AnnotationRemainder remainder ) { - remainder.getLeft().accept( this ); - remainder.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationShiftLeft( AnnotationShiftLeft left ) { - left.getLeft().accept( this ); - left.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationShiftRight( AnnotationShiftRight right ) { - right.getLeft().accept( this ); - right.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationUnsignedShiftRight( AnnotationUnsignedShiftRight right ) { - right.getLeft().accept( this ); - right.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationEquals( AnnotationEquals annotationEquals ) { - annotationEquals.getLeft().accept( this ); - annotationEquals.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationExclusiveOr( AnnotationExclusiveOr annotationExclusiveOr ) { - annotationExclusiveOr.getLeft().accept( this ); - annotationExclusiveOr.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationNotEquals( AnnotationNotEquals annotationNotEquals ) { - annotationNotEquals.getLeft().accept( this ); - annotationNotEquals.getRight().accept( this ); - - return null; - } - - public Object visitAnnotationQuery( AnnotationQuery annotationQuery ) { - annotationQuery.getCondition().accept( this ); - annotationQuery.getTrueExpression().accept( this ); - annotationQuery.getFalseExpression().accept( this ); - - return null; - } - - public Object visitAnnotationCast( AnnotationCast annotationCast ) { - annotationCast.getValue().accept( this ); - - return null; - } - -}
To unsubscribe from this list please visit:
