new OtherReferenceType(className, declaredType.toString());
}
@Override
public void visitPrimitiveType(PrimitiveType primitiveType) {
Kind kind = primitiveType.getKind();
dataType = getCorePrimitiveType(kind);
if (dataType != null) {
return;
}
throw new ValidationException(
MessageCode.SLIM3GEN1002,
env,
declaration.getPosition(),
kind.name().toLowerCase());
}