public class ConstraintCheckFactory extends Object
ConstraintChecks required for
the validation of annotations at given elements.| Constructor and Description |
|---|
ConstraintCheckFactory(javax.lang.model.util.Types typeUtils,
ConstraintHelper constraintHelper,
AnnotationApiHelper annotationApiHelper,
boolean methodConstraintsSupported) |
| Modifier and Type | Method and Description |
|---|---|
ConstraintChecks |
getConstraintChecks(javax.lang.model.element.Element annotatedElement,
javax.lang.model.element.AnnotationMirror annotation)
Returns those checks that have to be performed to validate the given
annotation at the given element.
|
public ConstraintCheckFactory(javax.lang.model.util.Types typeUtils,
ConstraintHelper constraintHelper,
AnnotationApiHelper annotationApiHelper,
boolean methodConstraintsSupported)
public ConstraintChecks getConstraintChecks(javax.lang.model.element.Element annotatedElement, javax.lang.model.element.AnnotationMirror annotation)
ConstraintChecks instance will be returned. It's therefore always
safe to operate on the returned object.annotatedElement - An annotated element, e.g. a type declaration or a method.annotation - An annotation.Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved