Skip to content

Commit

Permalink
HV-575: Avoiding imports due to links in JavaDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarmorling authored and hferentschik committed Apr 14, 2012
1 parent 8a98ffa commit 755bbe0
Showing 1 changed file with 11 additions and 12 deletions.
Expand Up @@ -98,7 +98,7 @@ public enum AnnotationType {
MULTI_VALUED_CONSTRAINT_ANNOTATION,

/**
* Given annotation is the @Valid annotation.
* Given annotation is the {@code @Valid} annotation.
*/
GRAPH_VALIDATION_ANNOTATION,

Expand Down Expand Up @@ -196,7 +196,7 @@ public ConstraintHelper(Types typeUtils, AnnotationApiHelper annotationApiHelper
/**
* Checks, whether the given type element represents a constraint annotation
* or not. That's the case, if the given element is annotated with the
* {@link Constraint} meta-annotation (which is only allowed at annotation
* {@code @Constraint} meta-annotation (which is only allowed at annotation
* declarations).
*
* @param element The element of interest.
Expand Down Expand Up @@ -235,7 +235,6 @@ else if ( isGroupSequenceProviderAnnotation( annotationMirror ) ) {
else {
return AnnotationType.NO_CONSTRAINT_ANNOTATION;
}

}

/**
Expand Down Expand Up @@ -339,7 +338,7 @@ public Boolean visitDeclared(DeclaredType constraintValidatorImplementation, Voi
/**
* Checks, whether the given annotation mirror represents a constraint
* annotation or not. That's the case, if the given mirror is annotated with
* the {@link Constraint} meta-annotation (which is only allowed at
* the {@code @Constraint} meta-annotation (which is only allowed at
* annotation declarations).
*
* @param annotationMirror The annotation mirror of interest.
Expand All @@ -352,12 +351,12 @@ private boolean isConstraintAnnotation(AnnotationMirror annotationMirror) {
}

/**
* Checks, whether the given annotation mirror represents the {@link javax.validation.Constraint}
* Checks, whether the given annotation mirror represents the {@code @Constraint}
* meta-annotation or not.
*
* @param annotationMirror The annotation mirror of interest.
*
* @return True, if the given mirror represents the @Constraint meta-annotation
* @return True, if the given mirror represents the {@code @Constraint} meta-annotation
* type, false otherwise.
*/
private boolean isConstraintMetaAnnotation(AnnotationMirror annotationMirror) {
Expand Down Expand Up @@ -410,11 +409,11 @@ public Boolean visitAnnotation(
}

/**
* Checks, whether the given mirror represents the {@link Valid} annotation.
* Checks, whether the given mirror represents the {@code Valid} annotation.
*
* @param annotationMirror The annotation mirror of interest.
*
* @return True, if the given mirror represents the @Valid annotation, false
* @return True, if the given mirror represents the {@code Valid} annotation, false
* otherwise.
*/
private boolean isGraphValidationAnnotation(
Expand All @@ -427,11 +426,11 @@ private boolean isGraphValidationAnnotation(
}

/**
* Checks, whether the given mirror represents the {@link GroupSequenceProvider} annotation.
* Checks, whether the given mirror represents the {@code @GroupSequenceProvider} annotation.
*
* @param annotationMirror The annotation mirror of interest.
*
* @return True, if the given mirror represents the @GroupSequenceProvider annotation, false
* @return True, if the given mirror represents the {@code @GroupSequenceProvider} annotation, false
* otherwise.
*/
private boolean isGroupSequenceProviderAnnotation(
Expand Down Expand Up @@ -595,15 +594,15 @@ private TypeMirror getConstraintValidatorSuperType(TypeMirror type) {
}

/**
* Retrieves the {@link Constraint} meta-annotation from the given
* Retrieves the {@code @Constraint} meta-annotation from the given
* constraint annotation.
*
* @param annotationType A constraint type.
*
* @return The Constraint meta-annotation.
*
* @throws IllegalArgumentException If the given constraint annotation type isn't annotated with
* the {@link Constraint} meta-annotation.
* the {@code @Constraint} meta-annotation.
*/
private AnnotationMirror getConstraintMetaAnnotation(DeclaredType annotationType) {

Expand Down

0 comments on commit 755bbe0

Please sign in to comment.