Element instances and ensures that all type information
is present and resolvable.
| Modifier and Type | Field and Description |
|---|---|
| private static final ElementVisitor | |
| private static final TypeVisitor | |
| private static final AnnotationValueVisitor |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| public static boolean | validateElement(Element element)
Returns true if all types referenced by the given element are defined. |
| public static boolean | validateElements(Iterable<? extends Element> elements)
Returns true if all of the given elements return true from |
| public static boolean | |
| private static boolean |
| ELEMENT_VALIDATING_VISITOR | back to summary |
|---|---|
| private static final ElementVisitor<Boolean, Void> ELEMENT_VALIDATING_VISITOR | |
| TYPE_VALIDATING_VISITOR | back to summary |
|---|---|
| private static final TypeVisitor<Boolean, Void> TYPE_VALIDATING_VISITOR | |
| VALUE_VALIDATING_VISITOR | back to summary |
|---|---|
| private static final AnnotationValueVisitor<Boolean, TypeMirror> VALUE_VALIDATING_VISITOR | |
| SuperficialValidation | back to summary |
|---|---|
| private SuperficialValidation() | |
| isValidBaseElement | back to summary |
|---|---|
| private static boolean isValidBaseElement(Element e) | |
| validateAnnotation | back to summary |
|---|---|
| private static boolean validateAnnotation(AnnotationMirror annotationMirror) | |
| validateAnnotations | back to summary |
|---|---|
| private static boolean validateAnnotations(Iterable<? extends AnnotationMirror> annotationMirrors) | |
| validateAnnotationValue | back to summary |
|---|---|
| private static boolean validateAnnotationValue(AnnotationValue annotationValue, TypeMirror expectedType) | |
| validateAnnotationValues | back to summary |
|---|---|
| private static boolean validateAnnotationValues(Map<? extends ExecutableElement, ? extends AnnotationValue> valueMap) | |
| validateElement | back to summary |
|---|---|
| public static boolean validateElement(Element element) Returns true if all types referenced by the given element are defined. The exact meaning of this depends on the kind of element. For packages, it means that all annotations on the package are fully defined. For other element kinds, it means that types referenced by the element, anything it contains, and any of its annotations element are all defined. | |
| validateElements | back to summary |
|---|---|
| public static boolean validateElements(Iterable<? extends Element> elements) Returns true if all of the given elements return true from | |
| validateType | back to summary |
|---|---|
| public static boolean validateType(TypeMirror type) Returns true if the given type is fully defined. This means that the type itself is defined, as
are any types it references, such as any type arguments or type bounds. For an | |
| validateTypes | back to summary |
|---|---|
| private static boolean validateTypes(Iterable<? extends TypeMirror> types) | |