*/
protected void throwExceptionForLobUnsupportedType(
ClassDeclaration classDeclaration,
FieldDeclaration fieldDeclaration, AnnotationMirror attribute) {
if (classDeclaration.equals(fieldDeclaration.getDeclaringType())) {
throw new ValidationException(
MessageCode.SLIM3GEN1045,
env,
fieldDeclaration.getPosition());
}
throw new ValidationException(
MessageCode.SLIM3GEN1046,
env,
classDeclaration.getPosition(),
fieldDeclaration.getSimpleName(),
fieldDeclaration.getDeclaringType().getQualifiedName());