| Modifier and Type | Method and Description |
|---|---|
static ClassInfo |
buildClassInfo(Class<?> type)
Builds a new
ClassInfo describing the given Class. |
public static ClassInfo buildClassInfo(Class<?> type) throws MappingException
ClassInfo describing the given Class. Annotations
for the class and its fields are read using the
TargetAwareAnnotationProcessingServices defined by
#setClassAnnotationProcessingService(TargetAwareAnnotationProcessingService)
and
#setFieldAnnotationProcessingService(TargetAwareAnnotationProcessingService)
. The information is stored in the ClassInfo and its related
FieldInfos.type - The Class Object representing the Class that shall be
described.ClassInfo describing the given Class or null if the
given type was not describable.MappingException - if annotation placement is invalid (field and property access
for the same field) or if composite keys are used!Copyright © 2014. All rights reserved.